Add new Ruby 3.2 version of www-gitlab-com Docker image

This commit is contained in:
Evan Read 2023-03-07 03:57:18 +00:00 committed by Balasankar 'Balu' C
parent 9639313abf
commit 0401bbf92f
5 changed files with 39 additions and 9 deletions

View file

@ -0,0 +1,26 @@
ARG GCLOUD_VERSION=413.0.0
# Google-cloud-sdk
#
# gsutil 5.18 unnecessarily requires the storage.buckets.get
# permission: https://github.com/GoogleCloudPlatform/gsutil/issues/1663
FROM gcr.io/google.com/cloudsdktool/cloud-sdk:$GCLOUD_VERSION as gcloud-sdk
FROM ruby:3.2.1-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/
ENV NODE_INSTALL_VERSION=18.14.2
ENV YARN_INSTALL_VERSION=1.22.19
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