docker-archlinux-daily/Dockerfile.x86_64

27 lines
546 B
Text
Raw Normal View History

FROM depau/archlinux-daily:x86_64
2020-04-16 17:36:22 +00:00
WORKDIR /archlinux
RUN mkdir -p /archlinux/rootfs
COPY rootfs/archlinux/etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist
COPY pacstrap-docker /archlinux/
2020-04-16 17:36:22 +00:00
RUN ./pacstrap-docker /archlinux/rootfs \
2020-04-16 22:22:34 +00:00
bash sed gzip pacman
2020-04-16 17:36:22 +00:00
# Remove current pacman database, likely outdated very soon
RUN rm rootfs/var/lib/pacman/sync/*
FROM scratch
COPY --from=0 /archlinux/rootfs/ /
COPY rootfs/archlinux/ /
ENV LANG=en_US.UTF-8
RUN locale-gen
RUN pacman-key --init
RUN pacman-key --populate archlinux
CMD ["/usr/bin/bash"]