Commit 29c6c12c authored by Kamil Trzciński's avatar Kamil Trzciński

Fix dockerfiles

parent 0b942531
......@@ -2,11 +2,11 @@
FROM golang:onbuild
# Install runner
RUN /go/src/app/dockerfiles/packaging/root/usr/share/gitlab-runner/post-install
RUN /go/src/app/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
ENTRYPOINT ["/go/src/app/ubuntu/entrypoint"]
ENTRYPOINT ["/go/src/app/dockerfiles/ubuntu/entrypoint"]
CMD ["run", "--user=gitlab-runner", "--working-directory=/home/gitlab-runner"]
......@@ -2,7 +2,7 @@ FROM ubuntu:14.04
RUN apt-get update -y && \
apt-get upgrade -y && \
apt-get install ca-certificates wget apt-transport-https vim nano
apt-get install -y ca-certificates wget apt-transport-https vim nano
RUN echo "deb https://packages.gitlab.com/runner/gitlab-ci-multi-runner/ubuntu/ `lsb_release -cs` main" > /etc/apt/sources.list.d/runner_gitlab-ci-multi-runner.list && \
wget -q -O - https://packages.gitlab.com/gpg.key | apt-key add - && \
......
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