Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.

Update of download link #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!assets/
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM alpine:latest
MAINTAINER Sean Gillespie <[email protected]>

# Install curl
RUN apk update && apk add bash \
Expand All @@ -11,9 +10,9 @@ RUN apk update && apk add bash \
VOLUME /etc/gitlab-runner /home/gitlab-runner

RUN adduser -h /home/gitlab-runner -s /bin/bash -D gitlab-runner
RUN wget -q -O /usr/local/bin/gitlab-ci-multi-runner \
https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-ci-multi-runner-linux-386 && \
chmod +x /usr/local/bin/gitlab-ci-multi-runner
RUN wget -q -O /usr/local/bin/gitlab-runner \
https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64 && \
chmod +x /usr/local/bin/gitlab-runner

# Add the entrypoint
COPY assets/entrypoint.sh /entrypoint.sh
Expand Down
4 changes: 2 additions & 2 deletions assets/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

gitlab-ci-multi-runner register --non-interactive && \
gitlab-ci-multi-runner "$@"
gitlab-runner register --non-interactive && \
gitlab-runner "$@"