mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Add Ruby 3.0-based image for www-gitlab-com repo
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
This commit is contained in:
parent
ab8f6f2046
commit
4687a3b967
2 changed files with 19 additions and 0 deletions
|
|
@ -136,6 +136,7 @@ release-tools test: *test_build
|
|||
sitespeed-gitlab test: *test_build
|
||||
ubi-release test: *test_build
|
||||
www-gitlab-com-2.7 test: *test_build
|
||||
www-gitlab-com-3.0 test: *test_build
|
||||
build-git: *test_build
|
||||
terraform test: *test_build
|
||||
# Used by go projects for linting https://gitlab.com/gitlab-org/gitlab/blob/master/doc/development/go_guide/index.md#automatic-linting
|
||||
|
|
@ -205,6 +206,7 @@ release-tools push: *build_and_deploy
|
|||
sitespeed-gitlab push: *build_and_deploy
|
||||
ubi-release push: *build_and_deploy
|
||||
www-gitlab-com-2.7 push: *build_and_deploy
|
||||
www-gitlab-com-3.0 push: *build_and_deploy
|
||||
build-git push: *build_and_deploy
|
||||
terraform push: *build_and_deploy
|
||||
# Used by go projects for linting https://gitlab.com/gitlab-org/gitlab/blob/master/doc/development/go_guide/index.md#automatic-linting
|
||||
|
|
|
|||
17
Dockerfile.www-gitlab-com-3.0
Normal file
17
Dockerfile.www-gitlab-com-3.0
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue