File tree Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,11 @@ RUN pip install --no-cache-dir -U "micropipenv[toml]"
1111# OS Packages needs to be installed as root
1212USER root
1313
14- # Install usefull OS packages
14+ # upgrade first to avoid fixable vulnerabilities
15+ RUN dnf -y upgrade --refresh --best --nodocs --noplugins --setopt=install_weak_deps=0 --setopt=keepcache=0 \
16+ && dnf clean all -y
17+
18+ # Install useful OS packages
1519RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum
1620
1721# Other apps and tools installed as default user
Original file line number Diff line number Diff line change @@ -11,7 +11,11 @@ RUN pip install --no-cache-dir -U "micropipenv[toml]"
1111# OS Packages needs to be installed as root
1212USER root
1313
14- # Install usefull OS packages
14+ # upgrade first to avoid fixable vulnerabilities
15+ RUN dnf -y upgrade --refresh --best --nodocs --noplugins --setopt=install_weak_deps=0 --setopt=keepcache=0 \
16+ && dnf clean all -y
17+
18+ # Install useful OS packages
1519RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum
1620
1721# Other apps and tools installed as default user
Original file line number Diff line number Diff line change @@ -11,7 +11,11 @@ RUN pip install --no-cache-dir -U "micropipenv[toml]"
1111# OS Packages needs to be installed as root
1212USER root
1313
14- # Install usefull OS packages
14+ # upgrade first to avoid fixable vulnerabilities
15+ RUN dnf -y upgrade --refresh --best --nodocs --noplugins --setopt=install_weak_deps=0 --setopt=keepcache=0 \
16+ && dnf clean all -y
17+
18+ # Install useful OS packages
1519RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum
1620
1721# Other apps and tools installed as default user
Original file line number Diff line number Diff line change @@ -11,7 +11,11 @@ RUN pip install --no-cache-dir -U "micropipenv[toml]"
1111# OS Packages needs to be installed as root
1212USER root
1313
14- # Install usefull OS packages
14+ # upgrade first to avoid fixable vulnerabilities
15+ RUN dnf -y upgrade --refresh --best --nodocs --noplugins --setopt=install_weak_deps=0 --setopt=keepcache=0 \
16+ && dnf clean all -y
17+
18+ # Install useful OS packages
1519RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum
1620
1721# Other apps and tools installed as default user
You can’t perform that action at this time.
0 commit comments