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 dbd3210 commit bec33c2
Show file tree
Hide file tree
Showing 49 changed files with 200 additions and 49 deletions.
5 changes: 4 additions & 1 deletion 389-ds-container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends 389-ds timezone openssl nss_synth; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends 389-ds timezone openssl nss_synth; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends golang-github-prometheus-alertmanager curl; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends golang-github-prometheus-alertmanager curl; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=org.opensuse.application.alertmanager
Expand Down
6 changes: 5 additions & 1 deletion apache-tomcat-10-java-17-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ FROM opensuse/bci/bci-micro:latest AS target
FROM opensuse/tumbleweed:latest AS builder
COPY --from=target / /target

RUN set -euo pipefail; zypper --installroot /target --gpg-auto-import-keys -n in --no-recommends tomcat10 curl sed java-17-openjdk java-17-openjdk-headless; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends tomcat10 curl sed java-17-openjdk java-17-openjdk-headless; \
zypper -n --installroot /target remove util-linux; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
FROM opensuse/bci/bci-micro:latest
COPY --from=builder /target /
# Define labels according to https://en.opensuse.org/Building_derived_containers
Expand Down
6 changes: 5 additions & 1 deletion apache-tomcat-10-java-21-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ FROM opensuse/bci/bci-micro:latest AS target
FROM opensuse/tumbleweed:latest AS builder
COPY --from=target / /target

RUN set -euo pipefail; zypper --installroot /target --gpg-auto-import-keys -n in --no-recommends tomcat10 curl sed java-21-openjdk java-21-openjdk-headless; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends tomcat10 curl sed java-21-openjdk java-21-openjdk-headless; \
zypper -n --installroot /target remove util-linux; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
FROM opensuse/bci/bci-micro:latest
COPY --from=builder /target /
# Define labels according to https://en.opensuse.org/Building_derived_containers
Expand Down
6 changes: 5 additions & 1 deletion apache-tomcat-10-java-22-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ FROM opensuse/bci/bci-micro:latest AS target
FROM opensuse/tumbleweed:latest AS builder
COPY --from=target / /target

RUN set -euo pipefail; zypper --installroot /target --gpg-auto-import-keys -n in --no-recommends tomcat10 curl sed java-22-openjdk java-22-openjdk-headless; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends tomcat10 curl sed java-22-openjdk java-22-openjdk-headless; \
zypper -n --installroot /target remove util-linux; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
FROM opensuse/bci/bci-micro:latest
COPY --from=builder /target /
# Define labels according to https://en.opensuse.org/Building_derived_containers
Expand Down
6 changes: 5 additions & 1 deletion apache-tomcat-9-java-17-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ FROM opensuse/bci/bci-micro:latest AS target
FROM opensuse/tumbleweed:latest AS builder
COPY --from=target / /target

RUN set -euo pipefail; zypper --installroot /target --gpg-auto-import-keys -n in --no-recommends tomcat curl sed java-17-openjdk java-17-openjdk-headless; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends tomcat curl sed java-17-openjdk java-17-openjdk-headless; \
zypper -n --installroot /target remove util-linux; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
FROM opensuse/bci/bci-micro:latest
COPY --from=builder /target /
# Define labels according to https://en.opensuse.org/Building_derived_containers
Expand Down
5 changes: 4 additions & 1 deletion blackbox_exporter-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends prometheus-blackbox_exporter curl; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends prometheus-blackbox_exporter curl; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=org.opensuse.application.blackbox_exporter
Expand Down
5 changes: 4 additions & 1 deletion gcc-12-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends gcc12 gcc12-c++ make curl findutils gawk git-core procps util-linux; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends gcc12 gcc12-c++ make curl findutils gawk git-core procps util-linux; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends gcc13 gcc13-c++ make curl findutils gawk git-core procps util-linux; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends gcc13 gcc13-c++ make curl findutils gawk git-core procps util-linux; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends gcc14 gcc14-c++ make gcc gcc-c++ curl findutils gawk git-core procps util-linux; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends gcc14 gcc14-c++ make gcc gcc-c++ curl findutils gawk git-core procps util-linux; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends osc expect obs-service-format_spec_file obs-service-source_validator typescript git openSUSE-release openSUSE-release-appliance-docker; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends osc expect obs-service-format_spec_file obs-service-source_validator typescript git openSUSE-release openSUSE-release-appliance-docker; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends go1.22 go1.22-doc make curl findutils gawk git-core procps util-linux; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends go1.22 go1.22-doc make curl findutils gawk git-core procps util-linux; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends go1.23 go1.23-doc make curl findutils gawk git-core procps util-linux; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends go1.23 go1.23-doc make curl findutils gawk git-core procps util-linux; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/tumbleweed:latest

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

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

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends systemd gzip openSUSE-release openSUSE-release-appliance-docker; 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 openSUSE-release openSUSE-release-appliance-docker; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=org.opensuse.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 @@ -23,7 +23,10 @@

FROM opensuse/tumbleweed:latest

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 openSUSE-release openSUSE-release-appliance-docker; 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 openSUSE-release openSUSE-release-appliance-docker; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends mariadb-client; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends mariadb-client; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=org.opensuse.application.mariadb-client
Expand Down
5 changes: 4 additions & 1 deletion mariadb-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends mariadb mariadb-tools gawk timezone util-linux findutils zstd; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends mariadb mariadb-tools gawk timezone util-linux findutils zstd; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=org.opensuse.application.mariadb
Expand Down
5 changes: 4 additions & 1 deletion nginx-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends gawk nginx findutils envsubst; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends gawk nginx findutils envsubst; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=org.opensuse.application.nginx
Expand Down
5 changes: 4 additions & 1 deletion nodejs-20-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends nodejs20 npm20 update-alternatives curl findutils gawk git-core procps util-linux; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends nodejs20 npm20 update-alternatives curl findutils gawk git-core procps util-linux; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends nodejs22 npm22 update-alternatives curl findutils gawk git-core procps util-linux; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends nodejs22 npm22 update-alternatives curl findutils gawk git-core procps util-linux; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/bci/openjdk:11

RUN set -euo pipefail; zypper -n in --no-recommends java-11-openjdk-devel maven; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends java-11-openjdk-devel maven; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends java-11-openjdk curl findutils gawk git-core procps util-linux; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends java-11-openjdk curl findutils gawk git-core procps util-linux; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/bci/openjdk:17

RUN set -euo pipefail; zypper -n in --no-recommends java-17-openjdk-devel maven; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends java-17-openjdk-devel maven; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends java-17-openjdk curl findutils gawk git-core procps util-linux; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends java-17-openjdk curl findutils gawk git-core procps util-linux; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/bci/openjdk:21

RUN set -euo pipefail; zypper -n in --no-recommends java-21-openjdk-devel maven; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends java-21-openjdk-devel maven; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends java-21-openjdk curl findutils gawk git-core procps util-linux; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends java-21-openjdk curl findutils gawk git-core procps util-linux; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/bci/openjdk:22

RUN set -euo pipefail; zypper -n in --no-recommends java-22-openjdk-devel maven; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends java-22-openjdk-devel maven; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in --no-recommends java-22-openjdk curl findutils gawk git-core procps util-linux; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends java-22-openjdk curl findutils gawk git-core procps util-linux; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/bci/bci-init:latest

RUN set -euo pipefail; zypper -n in --no-recommends pcp hostname procps shadow envsubst util-linux-systemd; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install --no-recommends pcp hostname procps shadow envsubst util-linux-systemd; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

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

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; zypper -n in php8 php8-cli php-composer2 php8-curl php8-zip php8-zlib php8-phar php8-mbstring apache2-mod_php8; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
RUN set -euo pipefail; \
zypper -n install php8 php8-cli php-composer2 php8-curl php8-zip php8-zlib php8-phar php8-mbstring apache2-mod_php8; \
zypper -n clean; \
rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=org.opensuse.bci.php-apache
Expand Down
Loading

0 comments on commit bec33c2

Please sign in to comment.