Workaround docker build error

This commit is contained in:
Davide Depau 2021-07-31 13:59:49 +02:00
parent 9d2dac8bce
commit 21bada7f45
2 changed files with 10 additions and 0 deletions

View file

@ -16,6 +16,11 @@ RUN rm rootfs/var/lib/pacman/sync/*
FROM scratch FROM scratch
COPY --from=0 /archlinux/rootfs/ / COPY --from=0 /archlinux/rootfs/ /
# Workaround for 'failed to get layer'
# https://stackoverflow.com/a/62409523/1124621
RUN true
COPY rootfs/alarm/ / COPY rootfs/alarm/ /
ENV LANG=en_US.UTF-8 ENV LANG=en_US.UTF-8

View file

@ -16,6 +16,11 @@ RUN rm rootfs/var/lib/pacman/sync/*
FROM scratch FROM scratch
COPY --from=0 /archlinux/rootfs/ / COPY --from=0 /archlinux/rootfs/ /
# Workaround for 'failed to get layer'
# https://stackoverflow.com/a/62409523/1124621
RUN true
COPY rootfs/archlinux/ / COPY rootfs/archlinux/ /
ENV LANG=en_US.UTF-8 ENV LANG=en_US.UTF-8