-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (15 loc) · 710 Bytes
/
Dockerfile
File metadata and controls
20 lines (15 loc) · 710 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM debian:jessie
RUN apt-get update && apt-get -y install apt-transport-https ca-certificates
RUN apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
ADD docker.list /etc/apt/sources.list.d/
RUN apt-get update \
&& apt-get install -y docker-engine \
socat \
&& rm -rf /var/lib/apt/lists/*
RUN apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
COPY startup /startup
# NOTE: The array version of CMD is required here
# because docker sends SIGTERM to only PID 1.
# With the shell syntax, /bin/sh is PID 1, and
# this method ensures 'startup' is PID 1
CMD ["/startup"]