mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-17 16:11:33 +00:00
Rather than re-build the whole init, let's just include the wireguard tools in a tools repo. This also moves *most* of the stuff to new linuxkit infrastructure, instead of the legacy mobylinux. And checks an item off the TODO list. Signed-off-by: Tycho Andersen <tycho@docker.com>
14 lines
340 B
Docker
14 lines
340 B
Docker
FROM alpine:edge as tools
|
|
RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
|
|
RUN \
|
|
apk update && \
|
|
apk upgrade -a && \
|
|
apk add --no-cache wireguard-tools
|
|
|
|
FROM scratch
|
|
ENTRYPOINT []
|
|
CMD []
|
|
WORKDIR /
|
|
COPY --from=tools /usr/bin/wg /usr/bin/wg-quick /usr/bin/
|
|
COPY --from=tools /usr/lib/libmnl.so* /lib/
|