Dockerfile 368 Bytes
Newer Older
1
ARG ALPINE_VERSION
2
3
4
ARG GITLAB_SHELL_VERSION
FROM alpinelinux/gitlab-shell:${GITLAB_SHELL_VERSION} as gitlab-shell

5
FROM ruby:2.7-alpine$ALPINE_VERSION
Carlo Landmeter's avatar
Carlo Landmeter committed
6

Kevin Daudt's avatar
Kevin Daudt committed
7
8
ARG GITLAB_VERSION
ENV GITLAB_VERSION=$GITLAB_VERSION
9

Carlo Landmeter's avatar
Carlo Landmeter committed
10
COPY overlay /
Kevin Daudt's avatar
Kevin Daudt committed
11
COPY --from=gitlab-shell /home/git/gitlab-shell /home/git/gitlab-shell
Carlo Landmeter's avatar
Carlo Landmeter committed
12
13
14

RUN  setup.sh

15
EXPOSE 80
Carlo Landmeter's avatar
Carlo Landmeter committed
16
17
18

ENTRYPOINT [ "entrypoint.sh" ]

Carlo Landmeter's avatar
Carlo Landmeter committed
19
CMD [ "start" ]