Build separate debug image. Switch from kaniko to buildah.

This commit is contained in:
Daniel Lundin
2019-10-02 10:26:38 +02:00
parent 4f8bf01f4a
commit 6f1e923c9a
4 changed files with 22 additions and 18 deletions
+12
View File
@@ -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" ]