github.com/ssube/gitlab-ci-multi-runner@v1.2.1-0.20160607142738-b8d1285632e6/dockerfiles/ubuntu/Dockerfile (about)

     1  FROM ubuntu:14.04
     2  
     3  RUN apt-get update -y && \
     4      apt-get upgrade -y && \
     5      apt-get install -y ca-certificates wget apt-transport-https vim nano && \
     6      apt-get clean && \
     7      rm -rf /var/lib/apt/lists/*
     8  
     9  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 && \
    10      wget -q -O - https://packages.gitlab.com/gpg.key | apt-key add - && \
    11      apt-get update -y && \
    12      apt-get install -y gitlab-ci-multi-runner && \
    13      wget -q https://github.com/docker/machine/releases/download/v0.7.0/docker-machine-Linux-x86_64 -O /usr/bin/docker-machine && \
    14      chmod +x /usr/bin/docker-machine && \
    15      apt-get clean && \
    16      mkdir -p /etc/gitlab-runner/certs && \
    17      chmod -R 700 /etc/gitlab-runner && \
    18      rm -rf /var/lib/apt/lists/*
    19  
    20  ADD entrypoint /
    21  RUN chmod +x /entrypoint
    22  
    23  VOLUME ["/etc/gitlab-runner", "/home/gitlab-runner"]
    24  ENTRYPOINT ["/entrypoint"]
    25  CMD ["run", "--user=gitlab-runner", "--working-directory=/home/gitlab-runner"]