Commit f49a6d6d authored by Tomasz Maczukin's avatar Tomasz Maczukin

Remove old Dockerfile for bleeding-edge images

parent 0c436485
# This image is used to create bleeding edge docker image and is not compatible with any other image
FROM golang:1.8.7
# Copy sources
COPY . /go/src/
WORKDIR /go/src/
# Fetch tags (to have proper versioning)
RUN git fetch --tags || true
# Build development version
ENV BUILD_PLATFORMS -osarch=linux/amd64
RUN make && \
ln -s $(pwd)/out/binaries/gitlab-runner-linux-amd64 /usr/bin/gitlab-ci-multi-runner && \
ln -s $(pwd)/out/binaries/gitlab-runner-linux-amd64 /usr/bin/gitlab-runner
# Install runner
RUN packaging/root/usr/share/gitlab-runner/post-install
# Preserve runner's data
VOLUME ["/etc/gitlab-runner", "/home/gitlab-runner"]
# init sets up the environment and launches gitlab-runner
CMD ["run", "--user=gitlab-runner", "--working-directory=/home/gitlab-runner"]
ENTRYPOINT ["/usr/bin/gitlab-runner"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment