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]"
11
11
# OS Packages needs to be installed as root
12
12
USER root
13
13
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
15
19
RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum
16
20
17
21
# 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]"
11
11
# OS Packages needs to be installed as root
12
12
USER root
13
13
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
15
19
RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum
16
20
17
21
# 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]"
11
11
# OS Packages needs to be installed as root
12
12
USER root
13
13
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
15
19
RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum
16
20
17
21
# 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]"
11
11
# OS Packages needs to be installed as root
12
12
USER root
13
13
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
15
19
RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum
16
20
17
21
# Other apps and tools installed as default user
You can’t perform that action at this time.
0 commit comments