Add docker container with Apollo

This commit is contained in:
Vitaly Slobodin 2021-11-24 13:52:23 +03:00
parent b6e40a81cd
commit 9a192676ec
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"]