mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 15:51:21 +00:00
Merge pull request #1857 from openziti/dockerfile-reduce
reduce Docker image sizes
This commit is contained in:
+2
-1
@@ -33,7 +33,8 @@ USER root
|
||||
### install packages
|
||||
RUN INSTALL_PKGS="python3.11 python3.11-pip tar bash-completion vim-minimal less shadow-utils jq findutils" && \
|
||||
microdnf -y update --setopt=install_weak_deps=0 --setopt=tsflags=nodocs && \
|
||||
microdnf -y install --setopt=install_weak_deps=0 --setopt=tsflags=nodocs ${INSTALL_PKGS}
|
||||
microdnf -y install --setopt=install_weak_deps=0 --setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||
microdnf clean all
|
||||
|
||||
### install OpenShift CLI (oc)
|
||||
# FIXME: This repo requires terms acceptance and is only available on registry.redhat.io.
|
||||
|
||||
+3
-1
@@ -18,7 +18,9 @@ LABEL name="openziti/ziti-tunnel" \
|
||||
USER root
|
||||
RUN INSTALL_PKGS="util-linux iptables" && \
|
||||
microdnf -y update --setopt=install_weak_deps=0 --setopt=tsflags=nodocs && \
|
||||
microdnf -y install --setopt=install_weak_deps=0 --setopt=tsflags=nodocs ${INSTALL_PKGS}
|
||||
microdnf -y install --setopt=install_weak_deps=0 --setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||
microdnf clean all
|
||||
|
||||
WORKDIR /netfoundry
|
||||
COPY ./entrypoint.sh /
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
Reference in New Issue
Block a user