docker-archlinux-daily/Dockerfile.arm64v8
Davide Depau c6d66e17e9
Some checks reported errors
continuous-integration/drone/push Build was killed
Copy mirrorlist so it's actually used during the build
2020-04-16 19:00:01 +02:00

26 lines
544 B
Text

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