-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDockerfile
More file actions
42 lines (36 loc) · 1.32 KB
/
Dockerfile
File metadata and controls
42 lines (36 loc) · 1.32 KB
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
39
40
41
42
FROM debian:buster
MAINTAINER frekele <[email protected]>
ENV S6_OVERLAY_VERSION=v1.22.1.0
RUN DEBIAN_FRONTEND='noninteractive' \
apt-get update \
&& apt-get install -y \
apt-transport-https \
apt-utils \
gnupg \
ca-certificates \
net-tools \
bash \
curl \
wget \
unzip \
patch \
nano \
procps \
lsof \
dos2unix \
tree \
fontconfig \
libfreetype6 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN wget https://keybase.io/justcontainers/key.asc --no-check-certificate -O /tmp/s6-overlay-key.asc \
&& wget https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-amd64.tar.gz --no-check-certificate -O /tmp/s6-overlay-amd64.tar.gz \
&& wget https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-amd64.tar.gz.sig --no-check-certificate -O /tmp/s6-overlay-amd64.tar.gz.sig \
&& gpg --import /tmp/s6-overlay-key.asc \
&& gpg --verify /tmp/s6-overlay-amd64.tar.gz.sig /tmp/s6-overlay-amd64.tar.gz \
&& tar xvfz /tmp/s6-overlay-amd64.tar.gz -C / \
&& rm -f /tmp/s6-overlay-key.asc \
&& rm -f /tmp/s6-overlay-amd64.tar.gz \
&& rm -f /tmp/s6-overlay-amd64.tar.gz.sig
ADD rootfs /
ENTRYPOINT ["/init"]