Images upgrade the whole base, not part of it (pacman -Syu)
deploy / deploy (push) Successful in 1m38s
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:
2 files changed
+5
-2
No files matched your search
+1
-1
@@ -25,7 +25,7 @@ RUN pacman-key --init \
|
||||
'SigLevel = Required DatabaseOptional' \
|
||||
'Server = https://project.uhhm.no/api/packages/bl/arch/$repo/$arch' \
|
||||
>> /etc/pacman.conf \
|
||||
&& pacman -Sy --noconfirm --needed ca-certificates gdo \
|
||||
&& pacman -Syu --noconfirm --needed ca-certificates gdo \
|
||||
&& pacman -Scc --noconfirm \
|
||||
&& rm -rf /var/cache/pacman/pkg/* /var/lib/pacman/sync/*
|
||||
|
||||
|
||||
+4
-1
@@ -12,7 +12,10 @@
|
||||
# reason.
|
||||
FROM archlinux:base
|
||||
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 \
|
||||
&& rm -rf /var/cache/pacman/pkg/* /var/lib/pacman/sync/*
|
||||
WORKDIR /app
|
||||
|
||||
Reference in new issue
Block a user