Base the Submariner image on Fedora minimal
The Fedora 32 minimal image now supports everything we need for the
Submariner engine image.
-FROM fedora:31
+FROM registry.fedoraproject.org/fedora-minimal:32
WORKDIR /var/submariner
# iproute and iptables are used internally
# libreswan or strongswan provide IKE
# procps-ng is needed for sysctl
-RUN dnf -y distrosync --nodocs --setopt=install_weak_deps=False && \
- dnf -y install --nodocs --setopt=install_weak_deps=False \
+RUN microdnf -y install --nodocs --setopt=install_weak_deps=0 \
iproute iptables libreswan strongswan procps-ng && \
- dnf -y clean all
+ microdnf -y clean all
COPY submariner.sh pluto submariner-engine /usr/local/bin/
