mirror of
https://github.com/Threnklyn/wg-ui.git
synced 2026-05-28 09:38:27 +02:00
Build separate debug image. Switch from kaniko to buildah.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
FROM embarkstudios/wireguard-ui AS latest
|
||||
|
||||
FROM ubuntu
|
||||
RUN apt-get update -y && \
|
||||
apt-get install -y software-properties-common iptables curl iproute2 ifupdown iputils-ping && \
|
||||
echo resolvconf resolvconf/linkify-resolvconf boolean false | debconf-set-selections && \
|
||||
echo "REPORT_ABSENT_SYMLINK=no" >> /etc/default/resolvconf && \
|
||||
add-apt-repository --yes ppa:wireguard/wireguard && \
|
||||
apt-get install resolvconf
|
||||
RUN apt-get install -qy --no-install-recommends wireguard-tools
|
||||
COPY --from=latest /wireguard-ui /
|
||||
ENTRYPOINT [ "/wireguard-ui" ]
|
||||
Reference in New Issue
Block a user