-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathDockerfile
More file actions
37 lines (31 loc) · 905 Bytes
/
Copy pathDockerfile
File metadata and controls
37 lines (31 loc) · 905 Bytes
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
#syntax=docker/dockerfile:1.2
FROM debian@sha256:a92ed51e0996d8e9de041ca05ce623d2c491444df6a535a566dabd5cb8336946 as base
FROM base
# hadolint ignore=DL3008,DL3009
RUN --mount=type=tmpfs,target=/var/lib/apt/lists \
--mount=type=tmpfs,target=/var/cache/apt \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install \
--yes \
--no-install-recommends \
ca-certificates \
netcat-openbsd \
curl \
bind9-host \
wireguard-tools \
procps \
util-linux \
jq \
grep \
gawk \
libcap2-bin \
iproute2 \
socat \
natpmpc \
openresolv \
iputils-ping \
htop
COPY --chown=root:root --chmod=0755 protonwire /usr/bin/protonwire
RUN ln -s /usr/bin/protonwire /usr/bin/protonvpn
ENTRYPOINT [ "/usr/bin/protonwire" ]
CMD [ "connect", "--service" ]