diff --git a/Dockerfile.template b/Dockerfile.template index e68d3d8..550bc3e 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -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"] diff --git a/Makefile b/Makefile index 06477fc..5c68c65 100644 --- a/Makefile +++ b/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'