Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile: bump Alpine Linux version #624

Merged
merged 2 commits into from
Jan 16, 2024

Conversation

jimklimov
Copy link
Contributor

@jimklimov jimklimov commented Jan 15, 2024

Following https://stackoverflow.com/a/73374817/4715872 suggestions: Alpine signing key was rotated, so new package builds are not trusted by the old image

Closes: #622

NOTE: Whatever builds I do, it only runs "Testing in image" but not "Build runtime image" stage. So can't really tell if this fix works :\ Spun up Docker Desktop locally, but it is "loading metadata" for the past 6 minutes, so I don't know if it would proceed further.

UPDATE: Related to:

Following https://stackoverflow.com/a/73374817/4715872 suggestions:
Alpine signing key was rotated, so new package builds are not
trusted by the old image

Signed-off-by: Jim Klimov <jimklimov@gmail.com>
 372.3 Can't locate Test/SharedFork.pm in @inc (you may need to install the Test::SharedFork module) (@inc contains: /usr/local/src/t/../bin /usr/local/src/t/..//thirdparty/lib/perl5/5.30.3/x86_64-linux-gnu /usr/local/src/t/..//thirdparty/lib/perl5/5.30.3 /usr/local/src/t/..//thirdparty/lib/perl5/x86_64-linux-gnu /usr/local/src/t/..//thirdparty/lib/perl5 /usr/local/src/t/../lib ./thirdparty/lib/perl5/5.30.3/x86_64-linux-gnu ./thirdparty/lib/perl5/5.30.3 ./thirdparty/lib/perl5/x86_64-linux-gnu ./thirdparty/lib/perl5 /usr/local/lib/perl5/site_perl/5.30.3/x86_64-linux-gnu /usr/local/lib/perl5/site_perl/5.30.3 /usr/local/lib/perl5/vendor_perl/5.30.3/x86_64-linux-gnu /usr/local/lib/perl5/vendor_perl/5.30.3 /usr/local/lib/perl5/5.30.3/x86_64-linux-gnu /usr/local/lib/perl5/5.30.3) at ./t/znapzend-daemonize.t line 89.
372.3 BEGIN failed--compilation aborted at ./t/znapzend-daemonize.t line 89.
@oetiker oetiker merged commit 75292b2 into oetiker:master Jan 16, 2024
4 checks passed
@jimklimov
Copy link
Contributor Author

jimklimov commented Jan 16, 2024

Hm, on upstream/master builds it is still upset - now with perl version (we still reference a probably too-old one):

#10 [runtime 2/4] RUN   apk add --no-cache zfs curl bash autoconf automake nano perl=5.30.3-r0 openssh &&   apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/community/ mbuffer &&   ln -s /dev/stdout /var/log/syslog &&   ln -s /usr/bin/perl /usr/local/bin/perl
#10 0.794 fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
#10 1.004 fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
#10 1.458 ERROR: unable to select packages:
#10 1.462   perl-5.38.2-r0:
#10 1.462     breaks: world[perl=5.30.3-r0]
#10 1.462     satisfies: autoconf-2.71-r2[perl]
#10 1.462                automake-1.16.5-r2[perl]
#10 ERROR: process "/bin/sh -c apk add --no-cache zfs curl bash autoconf automake nano perl=${PERL_VERSION} openssh &&   apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/community/ mbuffer &&   ln -s /dev/stdout /var/log/syslog &&   ln -s /usr/bin/perl /usr/local/bin/perl" did not complete successfully: exit code: 3
------

But at least it seems 5.38.x is a suggested way to go - will post an updated PR :)

jimklimov added a commit to jimklimov/znapzend that referenced this pull request Jan 16, 2024
...per complaints of earlier auto-build iterations after PR oetiker#624 merge

Signed-off-by: Jim Klimov <jimklimov@gmail.com>
oetiker pushed a commit that referenced this pull request Jan 16, 2024
...per complaints of earlier auto-build iterations after PR #624 merge

Signed-off-by: Jim Klimov <jimklimov@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI: Problem building Docker image for "Release/Docker push" scenario: repo lacks mbuffer?
2 participants