File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -8,23 +8,10 @@ RUN go mod download && \
8
8
FROM alpine:3.19
9
9
ARG AWGTOOLS_RELEASE="1.0.20241018"
10
10
11
- RUN apk add linux-headers build-base
12
- COPY awg-tools /awg-tools
13
- RUN pwd && ls -la / && ls -la /awg-tools
14
- WORKDIR /awg-tools/src
15
- # RUN ls -la && pwd && ls awg-tools
16
- RUN make
17
- RUN mkdir -p build && \
18
- cp wg ./build/awg && \
19
- cp wg-quick/linux.bash ./build/awg-quick
20
-
21
- RUN cp build/awg /usr/bin/awg
22
- RUN cp build/awg-quick /usr/bin/awg-quick
23
-
24
11
RUN apk --no-cache add iproute2 iptables bash && \
25
12
cd /usr/bin/ && \
26
- # wget https://github.com/amnezia-vpn/amneziawg-tools/releases/download/v${AWGTOOLS_RELEASE}/alpine-3.19-amneziawg-tools.zip && \
27
- # unzip -j alpine-3.19-amneziawg-tools.zip && \
13
+ wget https://github.com/amnezia-vpn/amneziawg-tools/releases/download/v${AWGTOOLS_RELEASE}/alpine-3.19-amneziawg-tools.zip && \
14
+ unzip -j alpine-3.19-amneziawg-tools.zip && \
28
15
chmod +x /usr/bin/awg /usr/bin/awg-quick && \
29
16
ln -s /usr/bin/awg /usr/bin/wg && \
30
17
ln -s /usr/bin/awg-quick /usr/bin/wg-quick
You can’t perform that action at this time.
0 commit comments