Merge branch 'vs/add-docker-image-with-apollo' into 'master'

Add docker container with Apollo

See merge request gitlab-org/gitlab-build-images!455
This commit is contained in:
Rémy Coutable 2021-12-01 11:05:13 +00:00
commit 80e90a097a
2 changed files with 14 additions and 0 deletions

View file

@ -180,6 +180,9 @@ gitlab-operator-build-base test: *test_build
alpine-bash-jq-curl-git test: *test_build
# Used by frontend related tasks for linting GraphQL
apollo test: *test_build
# Builds
# Used by Gitaly: https://gitlab.com/gitlab-org/gitaly/blob/master/.gitlab-ci.yml
@ -282,6 +285,8 @@ terraform push: *build_and_deploy
golangci-lint-alpine push: *build_and_deploy
# Used by gitlab-operator: https://gitlab.com/gitlab-org/gl-openshift/gitlab-operator
gitlab-operator-build-base push: *build_and_deploy
# Used by frontend related tasks for linting GraphQL
apollo push: *build_and_deploy
alpine-bash-jq-curl-git push: *build_and_deploy
cache-google-chrome:

9
Dockerfile.apollo Normal file
View file

@ -0,0 +1,9 @@
FROM node:14.18-alpine3.14
RUN apk update \
&& apk add --no-cache git
RUN yarn global add apollo@2.33.9
ENTRYPOINT ["apollo"]
CMD ["--help"]