- FROM alpine:3.13
- LABEL maintainer="Tom Denham <tom@tigera.io>"
- ENV FLANNEL_ARCH=amd64
- RUN apk add --no-cache iproute2 net-tools ca-certificates iptables strongswan && update-ca-certificates
- RUN apk add wireguard-tools --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community
- COPY dist/flanneld-$FLANNEL_ARCH /opt/bin/flanneld
- COPY dist/mk-docker-opts.sh /opt/bin/
- COPY dist/iptables-wrapper-installer.sh /
- RUN /iptables-wrapper-installer.sh
- ENTRYPOINT ["/opt/bin/flanneld"]
|