mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
17 lines
612 B
Docker
17 lines
612 B
Docker
FROM gcr.io/google.com/cloudsdktool/cloud-sdk as gcloud-sdk
|
|
|
|
FROM ruby:3.0.0-slim
|
|
|
|
ADD /scripts/ /scripts/
|
|
RUN /scripts/install-www-gitlab-com
|
|
|
|
# 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 -
|
|
|
|
# Set UTF-8 http://jaredmarkell.com/docker-and-locales/
|
|
# Must be set after install-essentials is run
|
|
ENV LANG en_US.UTF-8
|
|
ENV LANGUAGE en_US:en
|
|
ENV LC_ALL en_US.UTF-8
|