378 Commits

Author SHA1 Message Date
Justin Kromlinger
0d7c4c0017
Revert "Temporarily drop profile.d/80-systemd-osc-context to avoid machine-id nsf error spam"
This reverts commit 2ae497c16d7647c505b1cb39e19659d26193a5a0.

Resolves #107.
2025-12-19 17:09:57 +01:00
Justin Kromlinger
b8a77b2c87
Add temporary workaround until pacman 7.1.0 rollout is done 2025-12-14 19:12:51 +01:00
Justin Kromlinger
60e4a6c9bb
Fix pacman v7.1.0 sandbox config 2025-12-14 18:46:41 +01:00
Justin Kromlinger
7bdde954b0
Fix fakechroot build with pacman v7.1.0
Every `pacman -Sy*` call executed with fakeroot will fail with the new pacman release.
Until we have an alternative we need to add `--disable-sandbox-filesystem`.

See https://gitlab.archlinux.org/archlinux/archlinux-wsl/-/merge_requests/77
2025-12-13 18:38:33 +01:00
hashworks
d886fb482e Merge branch 'renovate/alpine-3.x' into 'master'
Update alpine Docker tag to v3.23

See merge request archlinux/archlinux-docker!93
2025-12-11 15:45:25 +01:00
renovate
d08dcc818c Update alpine Docker tag to v3.23 2025-12-11 15:42:26 +01:00
Justin Kromlinger
14a5131df7
Revert "Debug #108"
This reverts commit f7a03d6b9d48bff92af94b6d5bf2f54e0e408260.
2025-12-11 15:41:42 +01:00
Justin Kromlinger
f7a03d6b9d
Debug #108 2025-12-10 16:36:05 +01:00
hashworks
fd06401276 Merge branch 'fastly-mirror' into 'master'
Use new fastly CDN as default mirror

See merge request archlinux/archlinux-docker!92
2025-10-30 16:29:48 +01:00
Justin Kromlinger
648ec9e246
Use new fastly CDN as default mirror 2025-10-30 14:12:46 +01:00
Justin Kromlinger
2ae497c16d
Temporarily drop profile.d/80-systemd-osc-context to avoid machine-id nsf error spam
See #107
2025-10-08 16:41:01 +02:00
hashworks
744b1c5c6a Merge branch 'renovate/alpine-3.x' into 'master'
Update alpine Docker tag to v3.22

See merge request archlinux/archlinux-docker!91
2025-06-01 14:31:27 +02:00
renovate
cb7b8eb35d
Update alpine Docker tag to v3.22 2025-05-30 18:25:59 +00:00
Justin Kromlinger
ae0527df18
Disable sandbox in oci images due to missing kernel landlock
Resolves the `error: restricting filesystem access failed because the
landlock ruleset could not be applied!` when running pacman.

Closes #103.
2025-01-31 12:22:15 +01:00
hashworks
cac42fb2e6 Merge branch 'renovate/alpine-3.x' into 'master'
Update alpine Docker tag to v3.21

See merge request archlinux/archlinux-docker!90
2025-01-31 11:01:54 +00:00
renovate
b232b17c94
Update alpine Docker tag to v3.21 2024-12-05 22:24:48 +00:00
Justin Kromlinger
61cb892bfc
Replace httpie dependency with curl
Closes #102
2024-07-04 19:28:27 +02:00
Justin Kromlinger
bd60189bf8
Add documentation about GITLAB_PROJECT_TOKEN 2024-06-13 13:13:54 +02:00
Justin Kromlinger
6b71ded64e
Revert "Use predefined env variable for GitLab curl requests"
This reverts commit 210098dcc3c8da9c5c7a63bdf2db5abc8054c3af.
2024-06-06 14:00:51 +02:00
Justin Kromlinger
210098dcc3
Use predefined env variable for GitLab curl requests 2024-06-06 13:53:41 +02:00
Justin Kromlinger
c87f7c259d
Use predefined env variable for GitLab Registry Login 2024-06-06 13:41:26 +02:00
Justin Kromlinger
98cd79111d
Use daily images for CI 2024-01-01 16:45:55 +01:00
hashworks
19c9adc97f Merge branch 'renovate/alpine-3.x' into 'master'
Update alpine Docker tag to v3.19

See merge request archlinux/archlinux-docker!88
2023-12-09 21:58:12 +00:00
renovate
7229f536b4
Update alpine Docker tag to v3.19 2023-12-08 02:23:29 +00:00
Justin Kromlinger
337a19c996
Run release jobs on weekly publish-dockerhub schedule 2023-11-19 16:05:21 +01:00
Justin Kromlinger
f1fa835d97
Fix typo 2023-11-19 15:51:11 +01:00
Justin Kromlinger
9d2060177d
Add pre-release dep to publish-dockerhub, which provides BUILD_COMMIT
Fixes https://gitlab.archlinux.org/archlinux/archlinux-docker/-/jobs/192975
2023-11-19 15:44:39 +01:00
Justin Kromlinger
a162c7ebbe
Fix typo 2023-11-18 17:24:36 +01:00
Justin Kromlinger
aaffed1742
Move "inofficial" DockerHub description update out of "official" publish-dockerhub job
See https://gitlab.archlinux.org/archlinux/archlinux-docker/-/merge_requests/86#note_133349

Also adds a link where the description of the "offical" DockerHub
description is maintained.
2023-11-18 17:07:58 +01:00
hashworks
7dd6177315 Merge branch 'releasing' into 'master'
Remove misc workarounds, split/rework release stage

See merge request archlinux/archlinux-docker!86
2023-11-18 16:07:40 +00:00
Emil Velikov
76c722561f Split the release stage, reorder
Currently the release stage does 3-4 fairly distinct things:
 - uploads the rootfs tarballs to the Gitlab Generic Packages repo
 - creates and commits Dockerfile* to the release branch, for the
   Dockerhub/Github publishing
 - creates a Gitlab release, referencing the Packages artefacts and the
   release branch
 - updates the Dockerhub webpage

Currently these are intertwined, where the docker website is updated
first, the packages are uploaded, then the Dockerfiles are created and
committed and finally the release is made.

As result we intermix the tools required and permissions.

Split out the Gitlab release into it's own stage, using the yaml driven
format. This should save us some escaping/quoting mayhem.

In addition, move the Dockerhub webpage update as part of the github
publishing, since they require the same permissions.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2023-11-18 14:58:56 +00:00
Emil Velikov
d251908f91 Use the PACKAGE_REGISTRY_URL during releasing
The bug that mandated the get-public-download-for-generic-package.sh
use has been fixed a while ago.

Directly use the URL variable and drop the no longer needed script.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2023-11-18 14:58:56 +00:00
Emil Velikov
ee1b64a7ff Use rootfs_file across the board, rename and quote
Currently things are a bit mixed up - just rename all the files to
include the BUILD_VERSION and consistently use the rootfs_file variable.

Throw in some quotes while in there.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2023-11-18 14:58:56 +00:00
Emil Velikov
bf931bf033 Don't fetch the tarballs during publish-dockerhub
They are not needed at this point, so don't fetch them.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2023-11-18 14:58:56 +00:00
Emil Velikov
b06e3250d5 Remove bot workaround for the test stage
The issue referenced was fixed a few months after we added the
workaround.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2023-11-18 14:58:56 +00:00
Emil Velikov
93e0f66a3a Remove not applicable before_script
The image template, has a before_script stage which is overridden by all
instances that use it. Just drop it - it's rather misleading.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2023-11-18 14:58:56 +00:00
Justin Kromlinger
34b3f4f131
Push multilib-devel to official dockerhub 2023-11-18 15:58:16 +01:00
Justin Kromlinger
49b83e2f55
Fix missing \ 2023-11-01 16:51:57 +01:00
hashworks
199f647532 Merge branch 'multilib-devel' into 'master'
Introduce multilib-devel

See merge request archlinux/archlinux-docker!81
2023-10-31 19:40:54 +00:00
Emil Velikov
244718b5c9 Also release the multilib-devel container
So it can be useful for the wider community. I've intentionally left it
out as separate commit, since:
 - it is untested
 - there is lots of duplication that can/should be fixed
 - if publishing seems like an overkill, people can locally still use it

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2023-10-22 19:20:46 +01:00
Emil Velikov
5d404ea4bd Introduce multilib-devel container
Can be used to build 32bit (aka multilib) packages. With all the
simplification and de-duplication done with the previous commits, this
turns out to be a fairly simple job ;-)

Notes:
 - there is currently no test stage for this container
 - the release bits will come with next commit

v2:
 - preserve extra.conf for base/base-devel

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2023-10-22 19:20:06 +01:00
Justin Kromlinger
0ba93e3ec9
Fix copy command removal 2023-10-22 15:45:29 +02:00
Justin Kromlinger
fb332d2218
Provide rootfs file name to make-dockerfile.sh script
Fixes https://gitlab.archlinux.org/archlinux/archlinux-docker/-/jobs/186685
2023-10-22 15:37:37 +02:00
Justin Kromlinger
82f4544917
Make sure bash is available in release job for non-posix scripts 2023-10-22 15:04:02 +02:00
Justin Kromlinger
97fcff2abf
Fix make-dockerfile.sh call 2023-10-22 14:48:22 +02:00
hashworks
b34fe7a1e0 Merge branch 'dedup-cleanup' into 'master'
Misc de-duplication and cleanups

See merge request archlinux/archlinux-docker!85
2023-10-16 21:20:41 +00:00
Emil Velikov
ed0440cca2 Parametrise Github/Dockerhub dockerfile
Not a big win as-is. It will make the upcoming introduction of
multilib-devel a bit saner.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2023-10-02 12:48:41 +01:00
Emil Velikov
d1254eeee4 scripts/make-dockerfile.sh: reuse in the release stage
Bonus point, we actually error out when the git command fails.

v2:
 - fix curl quoting
 - sed match-complete-line-and-remove
 - inline update make-dockerfile.sh variables

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2023-10-02 12:46:17 +01:00
Emil Velikov
0a6910cade Use pattern rules in the makefile
Less duplication ftw, specially with multilib-devel on the horizon.
Unfortunately we'd need to tag the file pattern rules as precious,
otherwise make thinks they are intermediate files and nukes them.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2023-10-02 12:45:57 +01:00
Emil Velikov
64cb18a0c3 scripts/make-dockerfile.sh: drop TEMPLATE_ROOTFS_RELEASE_URL
The field is an inline comment, which by default is not present in the
podman log. Plus we do have the exact URL list a couple of lines further
down.

Haven't seen any other Dockerfile have one either, so let's nuke it.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2023-10-02 11:53:30 +01:00