Workaround docker build error
This commit is contained in:
parent
9d2dac8bce
commit
21bada7f45
2 changed files with 10 additions and 0 deletions
|
@ -16,6 +16,11 @@ RUN rm rootfs/var/lib/pacman/sync/*
|
|||
|
||||
FROM scratch
|
||||
COPY --from=0 /archlinux/rootfs/ /
|
||||
|
||||
# Workaround for 'failed to get layer'
|
||||
# https://stackoverflow.com/a/62409523/1124621
|
||||
RUN true
|
||||
|
||||
COPY rootfs/alarm/ /
|
||||
|
||||
ENV LANG=en_US.UTF-8
|
||||
|
|
|
@ -16,6 +16,11 @@ RUN rm rootfs/var/lib/pacman/sync/*
|
|||
|
||||
FROM scratch
|
||||
COPY --from=0 /archlinux/rootfs/ /
|
||||
|
||||
# Workaround for 'failed to get layer'
|
||||
# https://stackoverflow.com/a/62409523/1124621
|
||||
RUN true
|
||||
|
||||
COPY rootfs/archlinux/ /
|
||||
|
||||
ENV LANG=en_US.UTF-8
|
||||
|
|
Loading…
Reference in a new issue