Skip to content

Commit e6fc79f

Browse files
committed
Switch to libreswan-minimal in the gateway
This reduces the image size (185MiB instead of 203MiB) and drops all the systemd dependencies. Signed-off-by: Stephen Kitt <skitt@redhat.com>
1 parent 6ba126a commit e6fc79f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package/Dockerfile.submariner-gateway

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ COPY package/dnf_install /
2424
# kmod is required so that libreswan can load modules
2525
RUN /dnf_install -a ${TARGETPLATFORM} -v ${FEDORA_VERSION} -r /output/gateway \
2626
glibc bash glibc-minimal-langpack coreutils-single \
27-
libcurl-minimal iproute libreswan kmod \
28-
openssl nss-tools
27+
libcurl-minimal iproute libreswan-minimal kmod \
28+
openssl procps-ng nss-tools
29+
30+
# util-linux-core
2931

3032
FROM scratch
3133
ARG SOURCE

0 commit comments

Comments
 (0)