forked from sameersbn/docker-gitlab-ci-runner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
26 lines (21 loc) · 934 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM sameersbn/ubuntu:14.04.20150220
MAINTAINER [email protected]
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv E1DF1F24 \
&& echo "deb http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main" >> /etc/apt/sources.list \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv C3173AA6 \
&& echo "deb http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu trusty main" >> /etc/apt/sources.list \
&& apt-get update \
&& apt-get install -y supervisor git-core openssh-client ruby2.1 \
zlib1g libyaml-0-2 libssl1.0.0 \
libgdbm3 libreadline6 libncurses5 libffi6 \
libxml2 libxslt1.1 libcurl3 libicu52 \
&& gem install --no-document bundler \
&& rm -rf /var/lib/apt/lists/* # 20150220
ADD assets/setup/ /app/setup/
RUN chmod 755 /app/setup/install
RUN /app/setup/install
ADD assets/init /app/init
RUN chmod 755 /app/init
VOLUME ["/home/gitlab_ci_runner/data"]
ENTRYPOINT ["/app/init"]
CMD ["app:start"]