Move arch-specific stuff into their own subdirs
This commit is contained in:
parent
a3f9f98549
commit
bf666b857a
7 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@ WORKDIR /archlinux
|
|||
RUN mkdir -p /archlinux/rootfs
|
||||
|
||||
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 \
|
||||
bash sed gzip pacman base base-devel
|
||||
|
@ -15,7 +15,7 @@ RUN rm rootfs/var/lib/pacman/sync/*
|
|||
|
||||
FROM scratch
|
||||
COPY --from=0 /archlinux/rootfs/ /
|
||||
COPY rootfs/ /
|
||||
COPY rootfs/alarm/ /
|
||||
|
||||
ENV LANG=en_US.UTF-8
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ WORKDIR /archlinux
|
|||
RUN mkdir -p /archlinux/rootfs
|
||||
|
||||
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 \
|
||||
bash sed gzip pacman base base-devel
|
||||
|
@ -17,7 +17,7 @@ RUN ls -la /archlinux/rootfs/
|
|||
FROM scratch
|
||||
COPY --from=0 /archlinux/rootfs/ /
|
||||
RUN ls -la /
|
||||
COPY rootfs/ /
|
||||
COPY rootfs/alarm/ /
|
||||
|
||||
ENV LANG=en_US.UTF-8
|
||||
|
||||
|
|
Loading…
Reference in a new issue