docker-archlinux-daily/Dockerfile.armv7h

30 lines
612 B
Text
Raw Normal View History

FROM agners/archlinuxarm-arm32v7
WORKDIR /archlinux
RUN mkdir -p /archlinux/rootfs
COPY pacstrap-docker /archlinux/
COPY rootfs/alarm/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/*
RUN ls -la /archlinux/rootfs/
FROM scratch
COPY --from=0 /archlinux/rootfs/ /
RUN ls -la /
COPY rootfs/alarm/ /
ENV LANG=en_US.UTF-8
RUN ls -la /
RUN locale-gen
RUN pacman-key --init
RUN pacman-key --populate archlinuxarm
CMD ["/usr/bin/bash"]