Move arch-specific stuff into their own subdirs

This commit is contained in:
Davide Depau 2020-04-16 19:35:58 +02:00
parent a3f9f98549
commit bf666b857a
7 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ WORKDIR /archlinux
RUN mkdir -p /archlinux/rootfs RUN mkdir -p /archlinux/rootfs
COPY pacstrap-docker /archlinux/ COPY pacstrap-docker /archlinux/
COPY rootfs/etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist COPY rootfs/alarm/etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist
RUN ./pacstrap-docker /archlinux/rootfs \ RUN ./pacstrap-docker /archlinux/rootfs \
bash sed gzip pacman base base-devel bash sed gzip pacman base base-devel
@ -15,7 +15,7 @@ RUN rm rootfs/var/lib/pacman/sync/*
FROM scratch FROM scratch
COPY --from=0 /archlinux/rootfs/ / COPY --from=0 /archlinux/rootfs/ /
COPY rootfs/ / COPY rootfs/alarm/ /
ENV LANG=en_US.UTF-8 ENV LANG=en_US.UTF-8

View file

@ -5,7 +5,7 @@ WORKDIR /archlinux
RUN mkdir -p /archlinux/rootfs RUN mkdir -p /archlinux/rootfs
COPY pacstrap-docker /archlinux/ COPY pacstrap-docker /archlinux/
COPY rootfs/etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist COPY rootfs/alarm/etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist
RUN ./pacstrap-docker /archlinux/rootfs \ RUN ./pacstrap-docker /archlinux/rootfs \
bash sed gzip pacman base base-devel bash sed gzip pacman base base-devel
@ -17,7 +17,7 @@ RUN ls -la /archlinux/rootfs/
FROM scratch FROM scratch
COPY --from=0 /archlinux/rootfs/ / COPY --from=0 /archlinux/rootfs/ /
RUN ls -la / RUN ls -la /
COPY rootfs/ / COPY rootfs/alarm/ /
ENV LANG=en_US.UTF-8 ENV LANG=en_US.UTF-8