Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
hashworks
archlinux-docker
Commits
9bd11c95
Unverified
Commit
9bd11c95
authored
Jun 08, 2020
by
Santiago Torres-Arias
Browse files
Dockerfile: manually symlink os-release
parent
8f683e3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
9bd11c95
...
...
@@ -2,9 +2,12 @@ FROM scratch
ADD
archlinux.tar.xz /
# manually run all alpm hooks that can't be run inside the fakechroot
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 '
# 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.
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.
}
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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