Skip to content

Commit

Permalink
Test build for #1736
Browse files Browse the repository at this point in the history
  • Loading branch information
SUSE Update Bot committed Sep 25, 2024
1 parent 9e7a442 commit 2aa887c
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion base-image/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ if command -v zypper > /dev/null; then
zypper -n clean
fi

rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}

exit 0
2 changes: 1 addition & 1 deletion busybox-image/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ if command -v zypper > /dev/null; then
zypper -n clean
fi

rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}

exit 0
5 changes: 4 additions & 1 deletion init-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@

FROM bci/bci-base:16.0

RUN set -euo pipefail; zypper -n in --no-recommends systemd gzip SLES-release; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends systemd gzip SLES-release; \
zypper -n clean; \
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=com.suse.bci.init
Expand Down
5 changes: 4 additions & 1 deletion kiwi-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@

FROM bci/bci-base:16.0

RUN set -euo pipefail; zypper -n in --no-recommends checkmedia dracut-kiwi-oem-repart enchant-devel gcc glibc-devel iproute2 java-21-openjdk-headless jing kiwi-systemdeps-filesystems kpartx libxml2-devel lvm2 make netcat-openbsd python3-devel python3-kiwi python3-pip tack timezone xorriso xz SLES-release; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends checkmedia dracut-kiwi-oem-repart enchant-devel gcc glibc-devel iproute2 java-21-openjdk-headless jing kiwi-systemdeps-filesystems kpartx libxml2-devel lvm2 make netcat-openbsd python3-devel python3-kiwi python3-pip tack timezone xorriso xz SLES-release; \
zypper -n clean; \
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=com.suse.bci.kiwi
Expand Down
2 changes: 1 addition & 1 deletion micro-image/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ if command -v zypper > /dev/null; then
zypper -n clean
fi

rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}

exit 0
2 changes: 1 addition & 1 deletion minimal-image/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ if command -v zypper > /dev/null; then
zypper -n clean
fi

rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}

exit 0
5 changes: 4 additions & 1 deletion sle16-kernel-module-devel-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@

FROM bci/bci-base:16.0

RUN set -euo pipefail; zypper -n in --no-recommends kernel-devel kernel-syms gcc kmod make patch gawk rpm-build SLES-release; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends kernel-devel kernel-syms gcc kmod make patch gawk rpm-build SLES-release; \
zypper -n clean; \
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=com.suse.bci.sle16-kernel-module-devel
Expand Down

0 comments on commit 2aa887c

Please sign in to comment.