Images upgrade the whole base, not part of it (pacman -Syu)
deploy / deploy (push) Successful in 1m38s

pacman -Sy then installing curl or gdo is a partial upgrade: with openssl
4.1.0 in the repos (November 2026) it pulls the new libssl while the base
image's own pacman, libarchive and cryptsetup still want libcrypto.so=3,
and refuses. The portal 0.18.2 deploy failed on it. -Syu moves the whole
image to what the repos have, which the builder is too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
blandClaude Opus 5.5 committed 2026-11-10 10:41:32 +01:00
1 parent 69489e7e42
commit 4cf56ac588
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ RUN pacman-key --init \
'SigLevel = Required DatabaseOptional' \ 'SigLevel = Required DatabaseOptional' \
'Server = https://project.uhhm.no/api/packages/bl/arch/$repo/$arch' \ 'Server = https://project.uhhm.no/api/packages/bl/arch/$repo/$arch' \
>> /etc/pacman.conf \ >> /etc/pacman.conf \
&& pacman -Sy --noconfirm --needed ca-certificates gdo \ && pacman -Syu --noconfirm --needed ca-certificates gdo \
&& pacman -Scc --noconfirm \ && pacman -Scc --noconfirm \
&& rm -rf /var/cache/pacman/pkg/* /var/lib/pacman/sync/* && rm -rf /var/cache/pacman/pkg/* /var/lib/pacman/sync/*
+4 -1
View File
@@ -12,7 +12,10 @@
# reason. # reason.
FROM archlinux:base FROM archlinux:base
ARG PORTAL_RELEASE ARG PORTAL_RELEASE
RUN pacman -Sy --noconfirm --needed ca-certificates curl \ # -Syu, never -Sy: a partial upgrade pulls a library newer than what the
# base image's own pacman was built against (openssl 4, November 2026) and
# refuses to install.
RUN pacman -Syu --noconfirm --needed ca-certificates curl \
&& pacman -Scc --noconfirm \ && pacman -Scc --noconfirm \
&& rm -rf /var/cache/pacman/pkg/* /var/lib/pacman/sync/* && rm -rf /var/cache/pacman/pkg/* /var/lib/pacman/sync/*
WORKDIR /app WORKDIR /app