Skip to content

Commit

Permalink
Run zypper clean --all in examples
Browse files Browse the repository at this point in the history
Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>
  • Loading branch information
frelon committed Feb 9, 2024
1 parent 514463a commit e42cb0b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion examples/green-rpi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ RUN zypper --non-interactive install --no-recommends -- \
sudo \
curl \
podman \
sed
sed && \
zypper clean --all

# Just add the elemental cli
COPY --from=TOOLKIT /usr/bin/elemental /usr/bin/elemental
Expand Down
3 changes: 2 additions & 1 deletion examples/green/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ RUN ARCH=$(uname -m); \
curl \
iproute2 \
podman \
sed
sed && \
zypper clean --all

# Just add the elemental cli
COPY --from=TOOLKIT /usr/bin/elemental /usr/bin/elemental
Expand Down
3 changes: 2 additions & 1 deletion examples/tumbleweed/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ RUN ARCH=$(uname -m); \
patch \
iproute2 \
podman \
${ADD_PKGS}
${ADD_PKGS} && \
zypper clean --all

# Just add the elemental cli
COPY --from=TOOLKIT /usr/bin/elemental /usr/bin/elemental
Expand Down

0 comments on commit e42cb0b

Please sign in to comment.