forked from Taisun-Docker/tmux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.amd64
35 lines (29 loc) · 1.07 KB
/
Dockerfile.amd64
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
27
28
29
30
31
32
33
34
35
# A debian jessie docker container with Tmux and some core apps installed
FROM debian:stretch
MAINTAINER Ryan Kuba <[email protected]>
# Set correct environment variables
ENV DEBIAN_FRONTEND noninteractive
ENV LC_ALL C.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
# Base Applications install
RUN \
apt-get update && apt-get -y install \
curl \
gnupg \
tmux \
openssh-client \
lsb-release \
apt-transport-https \
procps && \
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
echo "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list && \
apt-get update && apt-get install -y --no-install-recommends \
docker-ce && \
apt-get autoclean && \
rm -rf /var/lib/apt/lists/* && \
curl -L https://github.com/docker/compose/releases/download/1.16.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose && \
chmod +x /usr/local/bin/docker-compose
# Copy over the start file
COPY entrypoint.sh /entrypoint.sh
CMD ["./entrypoint.sh"]