Fold patched www-gitlab-com-3.0.patched-gsutil into www-gitlab-com-3.0

This eliminates an extra build.
This commit is contained in:
Stan Hu 2022-01-05 08:35:44 -08:00
parent 519554013c
commit 0e7a55eb8a
No known key found for this signature in database
GPG key ID: 8D3931AD39CC7A20
3 changed files with 4 additions and 23 deletions

View file

@ -2,14 +2,15 @@ FROM gcr.io/google.com/cloudsdktool/cloud-sdk as gcloud-sdk
FROM ruby:3.0.3-slim-buster
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 -
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