mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
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:
parent
d62a723b9c
commit
d30defba8b
2 changed files with 1 additions and 1 deletions
18
Dockerfile.www-gitlab-com-debian-bullseye-ruby-3.0-node-16
Normal file
18
Dockerfile.www-gitlab-com-debian-bullseye-ruby-3.0-node-16
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue