mirror of
https://gitlab.archlinux.org/archlinux/archlinux-docker.git
synced 2025-08-10 16:17:11 +02:00
Dockerfile: manually symlink os-release
This commit is contained in:
parent
8f683e3cdc
commit
9bd11c95c2
@ -5,6 +5,9 @@ ADD archlinux.tar.xz /
|
|||||||
RUN ldconfig && update-ca-trust && locale-gen
|
RUN ldconfig && update-ca-trust && locale-gen
|
||||||
RUN sh -c 'ls usr/lib/sysusers.d/*.conf | /usr/share/libalpm/scripts/systemd-hook sysusers '
|
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 archilnux keyring, but discard any private key that may be shipped.
|
# initialize the archilnux keyring, but discard any private key that may be shipped.
|
||||||
RUN pacman-key --init && pacman-key --populate archlinux
|
RUN pacman-key --init && pacman-key --populate archlinux
|
||||||
RUN rm -rf etc/pacman.d/gnupg/{openpgp-revocs.d/,private-keys-v1.d/,pugring.gpg~,gnupg.S.}*
|
RUN rm -rf etc/pacman.d/gnupg/{openpgp-revocs.d/,private-keys-v1.d/,pugring.gpg~,gnupg.S.}*
|
||||||
|
Loading…
Reference in New Issue
Block a user