Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
archlinux-docker
Commits
7b37a547
Commit
7b37a547
authored
Nov 14, 2020
by
Arch Linux Docker release bot
Browse files
Release 20201114.0.8971
parent
c0822798
Pipeline
#2932
passed with stages
in 2 minutes and 13 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
7b37a547
...
...
@@ -39,6 +39,8 @@ get_version:
stage
:
rootfs
before_script
:
-
pacman -Syu --noconfirm make devtools fakechroot fakeroot
script
:
-
make $PWD/output/Dockerfile.$GROUP
artifacts
:
paths
:
-
output/*
...
...
@@ -54,8 +56,6 @@ rootfs:
parallel
:
matrix
:
-
GROUP
:
[
base
,
base-devel
]
script
:
-
make $PWD/output/$GROUP.tar.xz $PWD/output/Dockerfile.$GROUP
rootfs:secure:
extends
:
.rootfs
...
...
@@ -70,8 +70,6 @@ rootfs:secure:
parallel
:
matrix
:
-
GROUP
:
[
base
,
base-devel
]
script
:
-
make $PWD/output/$GROUP.tar.xz $PWD/output/Dockerfile.$GROUP
.image
:
stage
:
image
...
...
@@ -151,7 +149,8 @@ image:publish:secure:
refs
:
-
releases
-
tags
script
:
.test-script
:
&test-script
-
pacman -Sy
-
pacman -Qqk
-
pacman -Syu --noconfirm docker grep
...
...
@@ -162,11 +161,14 @@ image:publish:secure:
test:base:
extends
:
.test
image
:
$CI_REGISTRY_IMAGE:base-$CI_COMMIT_REF_SLUG
script
:
-
*test-script
test:base-devel:
extends
:
.test
image
:
$CI_REGISTRY_IMAGE:base-devel-$CI_COMMIT_REF_SLUG
after_script
:
script
:
-
*test-script
-
gcc -v
-
g++ -v
-
make -v
...
...
Dockerfile.base
View file @
7b37a547
...
...
@@ -11,23 +11,15 @@
FROM alpine:3.12 AS verify
RUN apk add --no-cache curl bash
SHELL ["/bin/bash", "-c"]
RUN ROOTFS="$(curl -sOJL --continue-at - -w "%{filename_effective}" https://gitlab.archlinux.org/archlinux/archlinux-docker/-/package_files//download)" && \
sha256sum -c <<< "
1b11dc084ad2d53b5a34cc964b6e4983bd540a6bfe1c61c9ce17823576d517cd
base-2020111
3
.0.8
887
.tar.xz" && \
RUN ROOTFS="$(curl -sOJL --continue-at - -w "%{filename_effective}" https://gitlab.archlinux.org/archlinux/archlinux-docker/-/package_files/
177
/download)" && \
sha256sum -c <<< "
8511b8c907dcfe845ec246d517380c4d3fd37032296adfe2a4707ba0a97dd078
base-2020111
4
.0.8
971
.tar.xz" && \
mkdir /rootfs && \
tar -C /rootfs --extract --file "${ROOTFS}"
FROM scratch AS root
COPY --from=verify /rootfs/ /
# manually run all alpm hooks that can't be run inside the fakechroot
RUN ldconfig && update-ca-trust && locale-gen
RUN sh -c 'ls usr/lib/sysusers.d/*.conf | /usr/share/libalpm/scripts/systemd-hook sysusers '
# update /etc/os-release
RUN ln -s /usr/lib/os-release /etc/os-release
# initialize the archlinux keyring, but discard any private key that may be shipped.
RUN pacman-key --init && pacman-key --populate archlinux && bash -c "rm -rf etc/pacman.d/gnupg/{openpgp-revocs.d/,private-keys-v1.d/,pubring.gpg~,gnupg.S.}*"
RUN ldconfig
ENV LANG=en_US.UTF-8
CMD ["/usr/bin/bash"]
Dockerfile.base-devel
View file @
7b37a547
...
...
@@ -11,23 +11,15 @@
FROM alpine:3.12 AS verify
RUN apk add --no-cache curl bash
SHELL ["/bin/bash", "-c"]
RUN ROOTFS="$(curl -sOJL --continue-at - -w "%{filename_effective}" https://gitlab.archlinux.org/archlinux/archlinux-docker/-/package_files//download)" && \
sha256sum -c <<< "
70799aa132f66492e5c3645a6aff9ccb612f40b92c83f253d11fcb9f4bceca98
base-devel-2020111
3
.0.8
887
.tar.xz" && \
RUN ROOTFS="$(curl -sOJL --continue-at - -w "%{filename_effective}" https://gitlab.archlinux.org/archlinux/archlinux-docker/-/package_files/
179
/download)" && \
sha256sum -c <<< "
5fad138b5ac01936b79e5e0705b4e8abf26d116435bb00822e314f965b32dbc4
base-devel-2020111
4
.0.8
971
.tar.xz" && \
mkdir /rootfs && \
tar -C /rootfs --extract --file "${ROOTFS}"
FROM scratch AS root
COPY --from=verify /rootfs/ /
# manually run all alpm hooks that can't be run inside the fakechroot
RUN ldconfig && update-ca-trust && locale-gen
RUN sh -c 'ls usr/lib/sysusers.d/*.conf | /usr/share/libalpm/scripts/systemd-hook sysusers '
# update /etc/os-release
RUN ln -s /usr/lib/os-release /etc/os-release
# initialize the archlinux keyring, but discard any private key that may be shipped.
RUN pacman-key --init && pacman-key --populate archlinux && bash -c "rm -rf etc/pacman.d/gnupg/{openpgp-revocs.d/,private-keys-v1.d/,pubring.gpg~,gnupg.S.}*"
RUN ldconfig
ENV LANG=en_US.UTF-8
CMD ["/usr/bin/bash"]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment