File tree Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ 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
+ # 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
+
14
18
# Install useful OS packages
15
19
RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum
16
20
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ 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
+ # 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
+
14
18
# Install useful OS packages
15
19
RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum
16
20
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ 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
+ # 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
+
14
18
# Install useful OS packages
15
19
RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum
16
20
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ 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
+ # 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
+
14
18
# Install useful OS packages
15
19
RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum
16
20
You can’t perform that action at this time.
0 commit comments