gitlab-build-images/Dockerfile.www-gitlab-com-ruby-3.0-node-16
Stan Hu edbe08f360
Update nodejs to v16.14.0
This matches the update in
https://gitlab.com/gitlab-com/www-gitlab-com/-/merge_requests/99215.

This also renames the image from `www-gitlab-com-3.0` to
`www-gitlab-com-ruby-3.0-node-16` to make it possible to roll this
change out properly.
2022-03-07 13:26:17 -08:00

18 lines
627 B
Docker

FROM gcr.io/google.com/cloudsdktool/cloud-sdk as gcloud-sdk
FROM ruby:3.0.3-slim-buster
# Install Google Cloud SDK for deploys via rsync
COPY --from=gcloud-sdk /usr/lib/google-cloud-sdk /usr/lib/google-cloud-sdk
COPY --from=gcloud-sdk /usr/share/google-cloud-sdk /usr/share/google-cloud-sdk
RUN cd /usr/bin && find ../lib/google-cloud-sdk/bin -type f -executable -exec ln -s {} \;; cd -
ADD /scripts/ /scripts/
ADD /patches /patches/
RUN /scripts/install-www-gitlab-com
# Set UTF-8 http://jaredmarkell.com/docker-and-locales/
# Must be set after install-essentials is run
ENV LANG C.UTF-8
ENV LANGUAGE C
ENV LC_ALL C.UTF-8