wg: new package
This commit is contained in:
parent
b7ac4d7684
commit
23ed756287
3 changed files with 57 additions and 0 deletions
19
pkg/wg/Dockerfile
Normal file
19
pkg/wg/Dockerfile
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
FROM linuxkit/alpine:518c2ed0f398c5508969ac5e033607201fb419ed AS mirror
|
||||
|
||||
RUN mkdir -p /out/etc/apk /out/usr/bin && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
alpine-baselayout \
|
||||
busybox \
|
||||
curl \
|
||||
iproute2 \
|
||||
wireguard-tools
|
||||
|
||||
# Remove apk residuals
|
||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||
|
||||
FROM scratch
|
||||
ENTRYPOINT []
|
||||
CMD []
|
||||
WORKDIR /
|
||||
COPY --from=mirror /out/ /
|
||||
COPY ask.sh /usr/bin/
|
||||
Reference in a new issue