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 && \
88FROM alpine:3.19
99ARG AWGTOOLS_RELEASE="1.0.20241018"
1010
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-
2411RUN apk --no-cache add iproute2 iptables bash && \
2512 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 && \
2815 chmod +x /usr/bin/awg /usr/bin/awg-quick && \
2916 ln -s /usr/bin/awg /usr/bin/wg && \
3017 ln -s /usr/bin/awg-quick /usr/bin/wg-quick
You can’t perform that action at this time.
0 commit comments