Dockerfile 316 Bytes
Newer Older
Kevin Daudt's avatar
Kevin Daudt committed
1 2
ARG ARCH=
FROM ${ARCH}alpine:edge
3 4 5

ENV SSL_CERT_FILE /etc/ssl/cert.pem

6
RUN apk add -U --no-cache gitlab-runner
7

8
COPY register-runners entrypoint /usr/local/bin/
9

10
VOLUME ["/etc/gitlab-runner"]
11
ENTRYPOINT ["/usr/local/bin/entrypoint"]
12
CMD ["run", "--user=gitlab-runner", "--working-directory=/var/lib/gitlab-runner"]