mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-10 02:22:57 +01:00
Update Ruby 2.6 to 2.7 in www-gitlab-com image
Drops Ruby 2.4 test and build. Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
This commit is contained in:
parent
0c9578d59b
commit
172a4ac8e7
5 changed files with 25 additions and 36 deletions
17
Dockerfile.www-gitlab-com-2.7
Normal file
17
Dockerfile.www-gitlab-com-2.7
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM gcr.io/google.com/cloudsdktool/cloud-sdk as gcloud-sdk
|
||||
|
||||
FROM ruby:2.7.2-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 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue