forked from Taisun-Docker/tmux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.armhf
38 lines (31 loc) · 1.15 KB
/
Dockerfile.armhf
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
36
37
38
# A debian jessie docker container with Tmux and some core apps installed
FROM arm32v7/debian:stretch
MAINTAINER Ryan Kuba <[email protected]>
# Add qemu to build on x86_64 systems
COPY qemu-arm-static /usr/bin
# 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=armhf] 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"]