mirror of
https://gitlab.archlinux.org/archlinux/archlinux-docker.git
synced 2026-05-05 05:46:16 +02:00
Move ldconfig back to Dockerfile since its a noop in fakechroot
strace: execve("/bin/true", ["ldconfig"], 0x563fc29f9fa0 /* 101 vars */) = 0
This commit is contained in:
parent
52c1613c20
commit
f875ac9565
@ -20,5 +20,7 @@ RUN ROOTFS="$(curl -sOJL --continue-at - -w "%{filename_effective}" TEMPLATE_ROO
|
||||
FROM scratch AS root
|
||||
COPY --from=verify /rootfs/ /
|
||||
|
||||
RUN ldconfig
|
||||
|
||||
ENV LANG=en_US.UTF-8
|
||||
CMD ["/usr/bin/bash"]
|
||||
|
||||
1
Makefile
1
Makefile
@ -14,7 +14,6 @@ define rootfs
|
||||
--config $(BUILDDIR)/etc/pacman.conf \
|
||||
--noscriptlet \
|
||||
--hookdir $(BUILDDIR)/alpm-hooks/usr/share/libalpm/hooks/ $(2)
|
||||
fakechroot -- fakeroot -- chroot $(BUILDDIR) ldconfig
|
||||
fakechroot -- fakeroot -- chroot $(BUILDDIR) update-ca-trust
|
||||
fakechroot -- fakeroot -- chroot $(BUILDDIR) locale-gen
|
||||
fakechroot -- fakeroot -- chroot $(BUILDDIR) sh -c 'ls usr/lib/sysusers.d/*.conf | /usr/share/libalpm/scripts/systemd-hook sysusers'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user