Accepting request 1224286 from devel:BCI:Tumbleweed

🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1224286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgres-17-image?expand=0&rev=7
This commit is contained in:
Ana Guerrero 2024-11-15 14:43:09 +00:00 committed by Git OBS Bridge
commit f9cdac3802
2 changed files with 11 additions and 3 deletions

View File

@ -20,13 +20,16 @@
#!BuildTag: opensuse/postgres:17 #!BuildTag: opensuse/postgres:17
#!BuildTag: opensuse/postgres:%%pg_minor_version%% #!BuildTag: opensuse/postgres:%%pg_minor_version%%
FROM opensuse/tumbleweed:latest FROM opensuse/bci/bci-micro:latest AS target
FROM opensuse/tumbleweed:latest AS builder
COPY --from=target / /target
RUN set -euo pipefail; \ RUN set -euo pipefail; \
zypper -n install --no-recommends libpq5 postgresql17-server findutils; \ zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends libpq5 postgresql17-server findutils coreutils sed util-linux; \
zypper -n clean; \ zypper -n clean; \
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2} rm -rf {/target,}/var/log/{alternatives.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 # Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=org.opensuse.application.postgres # labelprefix=org.opensuse.application.postgres
LABEL org.opencontainers.image.title="openSUSE Tumbleweed PostgreSQL 17" LABEL org.opencontainers.image.title="openSUSE Tumbleweed PostgreSQL 17"

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 14 17:06:30 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
- switch to multistage build
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 30 18:28:27 UTC 2024 - SUSE Update Bot <bci-internal@suse.de> Wed Oct 30 18:28:27 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>