forked from virtru-dev/cork
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.base
More file actions
19 lines (15 loc) · 741 Bytes
/
Copy pathDockerfile.base
File metadata and controls
19 lines (15 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM krallin/ubuntu-tini:xenial
RUN apt-get update && \
apt-get install -y curl build-essential python-dev libssl-dev linux-tools-generic git openssh-server jq apt-transport-https ca-certificates software-properties-common && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && \
apt-key fingerprint 0EBFCD88 && \
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && \
apt-get update && \
apt-get install -y docker-ce && \
mkdir -p /var/run/sshd && \
mkdir -p /cork
EXPOSE 22
COPY containers/base/startup.sh /usr/local/bin/startup.sh
COPY builds/linux/cork-server /cork-server
CMD ["/usr/local/bin/startup.sh"]
WORKDIR /work