Rename www-gitlab-com image to include Debian version

https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/575/diffs
quietly updated the base image from Debian buster to bullseye, but
this broke native gems that depend on the buster glibc version. To
avoid this problem in the future, include the Debian version in the
image name.
This commit is contained in:
Stan Hu 2022-08-14 21:41:59 -07:00
parent d62a723b9c
commit d30defba8b
No known key found for this signature in database
GPG key ID: 8D3931AD39CC7A20
2 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,18 @@
FROM gcr.io/google.com/cloudsdktool/cloud-sdk as gcloud-sdk
FROM ruby:3.0.4-slim-bullseye
# 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