docker-archlinux-daily/Dockerfile.aarch64
Davide Depau 3ddea40ba9
All checks were successful
continuous-integration/drone/push Build is passing
Switch to building recursively from this image itself
2020-04-17 00:36:28 +02:00

26 lines
542 B
Text

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