Skip to content

Commit

Permalink
Containerfile: force-reconfigure in final stage
Browse files Browse the repository at this point in the history
because apparently ca-certificates wasn't getting the memo on
void-musl-full
  • Loading branch information
classabbyamp committed Aug 11, 2023
1 parent eb0601b commit b393d63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ FROM scratch AS image-default
COPY --link --from=install-default /target /
RUN \
install -dm1777 tmp; \
xbps-reconfigure -a; \
xbps-reconfigure -fa; \
rm -rf /var/cache/xbps/*
CMD ["/bin/sh"]

Expand All @@ -66,14 +66,14 @@ RUN \
[ ! -f "/usr/bin/$util" ] && /usr/bin/busybox ln -sfv busybox "/usr/bin/$util"; \
done; \
install -dm1777 tmp; \
xbps-reconfigure -a; \
xbps-reconfigure -fa; \
rm -rf /var/cache/xbps/*
CMD ["/bin/sh"]

FROM scratch AS image-full
COPY --from=install-full /target /
RUN \
install -dm1777 tmp; \
xbps-reconfigure -a; \
xbps-reconfigure -fa; \
rm -rf /var/cache/xbps/*
CMD ["/bin/sh"]

0 comments on commit b393d63

Please sign in to comment.