Commit Graph

335 Commits

Author SHA1 Message Date
Justin Kromlinger
20c6261eb0
Revert "Drop -J / --remote-header-name from curl call"
This reverts commit 1d15a041f7.
2021-09-18 13:02:46 +02:00
Justin Kromlinger
1d15a041f7
Drop -J / --remote-header-name from curl call
It is incompatible with --continue-at. See [1].

[1] https://gitlab.archlinux.org/archlinux/archlinux-docker/-/jobs/34434#L72
2021-09-16 20:33:52 +02:00
Justin Kromlinger
9cbe452289
Update pacman.conf to pacman-6.0.0-2
As suggested by xatier on GitHub:
* https://github.com/archlinux/archlinux-docker/pull/41
* https://github.com/archlinux/archlinux-docker/pull/42/files
2021-06-07 18:25:27 +02:00
hashworks
183225149d Merge branch 'add-warning-on-lsign-key' into 'master'
README: add note on lsign-key

Closes #18

See merge request archlinux/archlinux-docker!58
2021-05-02 14:34:27 +00:00
Santiago Torres
be068a16d3
README: add note on lsign-key 2021-04-29 15:52:57 -04:00
Justin Kromlinger
96bb688fb7
Add --force to kaniko to override cgroup-v2 container detection
Revert after [0] is fixed

[0] https://github.com/GoogleContainerTools/kaniko/issues/1592
2021-04-17 16:32:02 +02:00
hashworks
293bcb10aa Merge branch 'package-registry-cleanup' into 'master'
Remove the rootfses from the package registry after 60 days

Closes #57

See merge request archlinux/archlinux-docker!57
2021-04-17 14:19:26 +00:00
Kristian Klausen
e74230023c Remove the rootfses from the package registry after 60 days
According to upstream two months is fine:
tianon: yeah, cleaning them out is reasonable, although I'd request that
they be available for something like 1-2 months after they're no longer
supported / "active"
tianon: in the case of something constantly changing like arch, 1 month
is probably pretty reasonable

Fix #57
2021-04-06 01:17:42 +02:00
hashworks
cce3f61a84 Merge branch 'github-pr-maintainers' into 'master'
Add the $maintainers to the PR's body instead of the commit

See merge request archlinux/archlinux-docker!56
2021-04-05 11:46:23 +00:00
Kristian Klausen
18b9d9f730 Add the $maintainers to the PR's body instead of the commit
This should fix the notification spam caused by users pushing the
commits to their own repository.
2021-04-04 21:33:36 +02:00
hashworks
eabc3c8b25 Merge branch 'pierre-master-patch-14921' into 'master'
Remove my name from the template to reduce notification spam by Github

See merge request archlinux/archlinux-docker!55
2021-04-04 14:15:00 +00:00
Pierre Schmitz
c2370be081 Remove my name from the template to reduce notification spam by Github 2021-04-04 13:56:19 +00:00
Justin Kromlinger
90da405dc3
Use hadolint:latest-alpine since :latest no longer contains a shell 2021-03-25 17:53:09 +01:00
hashworks
4b0bc2ddf2 Merge branch 'docker-library/gitlabRepo' into 'master'
Use our GitLab repo in the docker library template

See merge request archlinux/archlinux-docker!54
2020-12-22 19:37:07 +00:00
Justin Kromlinger
bd44d9997a
Use our GitLab repo in the docker library template
See https://github.com/docker-library/official-images/pull/9340
2020-12-22 12:47:16 +01:00
hashworks
acde5a3704 Merge branch 'fix/sysusers' into 'master'
Make sure sysusers call actually generates users and groups

Closes #52

See merge request archlinux/archlinux-docker!53
2020-12-11 15:08:28 +00:00
Santiago Torres
eb0c127ba6
Makefile: use sysusers directly
Instead of using the libalpm systemd-syusers hook, use sysusers
directly. The --root parameter allows us to avoid using the host's
namespace and populate using the conf files in the target's build
directory.
2020-12-11 16:00:56 +01:00
Justin Kromlinger
c0e73cd900
Drop ls pipe for sysusers call
It had no effect whatsoever anyway.
2020-12-11 16:00:54 +01:00
Justin Kromlinger
3e3b44b68c
Move sysusers call back to Dockerfile
Resolves #52. Added small tests for user/group counts.
2020-12-11 16:00:51 +01:00
Justin Kromlinger
65afb6ca64
Replace ~ in README since it's strikeout on DockerHub
Resolves #54.
2020-12-09 23:39:29 +01:00
Sven-Hendrik Haase
95f4c09f9d Fix some typos 2020-12-01 07:41:24 +00:00
hashworks
2c27f13737 Merge branch 'doc/README' into 'master'
Make README more user-centric and explain CI processes

Closes #40 and #48

See merge request archlinux/archlinux-docker!51
2020-11-30 21:17:12 +00:00
Justin Kromlinger
1a5fbeea9d
Make README more user-centric and explain CI processes
Resolves #40 and #48.
2020-11-30 22:13:02 +01:00
hashworks
86fb81c860 Merge branch 'dockerfile/prettyReleaseURL' into 'master'
Provide a pretty release link in the Dockerfile

Closes #49

See merge request archlinux/archlinux-docker!52
2020-11-18 18:33:21 +00:00
Justin Kromlinger
6b36cb9812
Provide a pretty release link in the Dockerfile
Resolves #49.
2020-11-18 19:04:34 +01:00
Sven-Hendrik Haase
67dddfbf76 Merge branch 'fix/apiPagination' into 'master'
Always retrieve the latest package from the API, add error handling

See merge request archlinux/archlinux-docker!50
2020-11-13 10:20:11 +00:00
Justin Kromlinger
c1cc41db1a
Fail public download script on API / json parsing errors 2020-11-13 11:09:11 +01:00
Justin Kromlinger
9c39d53baf
Always retrieve the latest package from the API
Without this stuff fails after a while since the API is paginated and
sorted by ASC by default.
2020-11-13 11:07:13 +01:00
hashworks
73504a73cd Merge branch 'dockerfileCMDsToMakefile' into 'master'
Move all Dockerfile commands to Makefile

Closes #45

See merge request archlinux/archlinux-docker!49
2020-11-13 09:22:32 +00:00
Justin Kromlinger
17b668efb4
Add configuration files before we run locale-gen 2020-11-07 21:14:58 +01:00
Justin Kromlinger
f875ac9565
Move ldconfig back to Dockerfile since its a noop in fakechroot
strace: execve("/bin/true", ["ldconfig"], 0x563fc29f9fa0 /* 101 vars */) = 0
2020-11-07 17:52:39 +01:00
Justin Kromlinger
52c1613c20
Don't use after_script to test base-devel
after_script won't affect the job exit code [1], so we can't use it for
tests. Instead we are using YAML anchors for script [2].

[1] https://docs.gitlab.com/ee/ci/yaml/#before_script-and-after_script
[2] https://docs.gitlab.com/ee/ci/yaml/#yaml-anchors-for-script
2020-11-07 17:19:16 +01:00
Justin Kromlinger
a51b77535a
Clean GitLabCI make commands 2020-11-07 17:09:11 +01:00
Justin Kromlinger
0b616a629a
Always build rootfs archives before the Dockerfiles
The Dockerfiles require them for their sha256sum.
2020-11-07 16:50:03 +01:00
Justin Kromlinger
d177146b3b
Move all Dockerfile commands to Makefile
Resolves #45.
2020-11-07 16:49:07 +01:00
Justin Kromlinger
41d5da410a
Drop depth=1 to fix "shallow update not allowed" 2020-11-02 22:29:45 +01:00
Sven-Hendrik Haase
ac398b334a Merge branch 'fix/dockerHubLibraryBuilds' into 'master'
Switch to alpine in verify stage

See merge request archlinux/archlinux-docker!47
2020-11-02 20:47:19 +00:00
Justin Kromlinger
9c5a9ccc95
Drop DL3020 ignore since we are using COPY 2020-11-02 20:14:12 +01:00
Justin Kromlinger
7d5a90c0a0
Drop apk update since we use --no-cache 2020-11-02 20:13:19 +01:00
Justin Kromlinger
2f647bce74
Drop DL3007 from ignore list since we pin alpine:3.12 2020-11-02 20:05:46 +01:00
Justin Kromlinger
0ad84af7b7
Drop alpine version pins, ignore DL3018
https://gitlab.archlinux.org/archlinux/archlinux-docker/-/merge_requests/47#note_6125
2020-11-02 20:03:42 +01:00
Justin Kromlinger
fdd9e81fc0
Switch to 3.12 versions for curl and bash 2020-11-02 19:44:04 +01:00
Justin Kromlinger
1fe6646735
DL3018, DL3018: Pin apk package versions, use --no-cache 2020-11-02 19:37:20 +01:00
Justin Kromlinger
daa67d1857
Switch to alpine in verify stage
This fixes a circular dependency issue noted in [1].

`curl -s` and removal of `--auto-compress` are needed because of
differences in the binaries in alpine.

[1] https://github.com/docker-library/official-images/pull/8999#issuecomment-720622797
2020-11-02 19:30:07 +01:00
Justin Kromlinger
d4bfcb130c
Add missing semicolon 2020-11-02 17:42:50 +01:00
Sven-Hendrik Haase
463ac73b69
Use http --ignore-stdin 2020-11-02 17:33:25 +01:00
Sven-Hendrik Haase
3c58c3c471
Fix httpie call 2020-11-02 17:24:42 +01:00
Sven-Hendrik Haase
90b3a2e66b
Remove orphan upload stage 2020-11-02 17:18:06 +01:00
Sven-Hendrik Haase
b5a8800a6f Merge branch 'replacePublishWithKaniko' into 'master'
Replace publish with multi-destination kaniko

See merge request archlinux/archlinux-docker!46
2020-11-02 16:13:34 +00:00
Justin Kromlinger
1038040aee
Replace $DESTS with $LATEST 2020-11-02 17:04:17 +01:00