Extract Tarball on boot (#127)

* reworking logic to untar on first boot and reducing sample size for chown logic as it is not recursive

* bad path in arm variants
This commit is contained in:
Ryan Kuba
2019-03-29 05:53:57 +08:00
committed by saarg
parent d052b13f92
commit 0f9f1ef4d3
4 changed files with 14 additions and 27 deletions

View File

@@ -320,14 +320,8 @@ RUN \
echo "**** Add Picons ****" && \
mkdir -p /picons && \
curl -o \
/tmp/picons.tar.bz2 -L \
https://lsio-ci.ams3.digitaloceanspaces.com/picons/picons.tar.bz2 && \
tar xf \
/tmp/picons.tar.bz2 -C \
/picons && \
echo "**** cleanup ****" && \
rm -rf \
/tmp/*
/picons.tar.bz2 -L \
https://lsio-ci.ams3.digitaloceanspaces.com/picons/picons.tar.bz2
# copy local files and buildstage artifacts
COPY --from=buildstage /tmp/argtable-build/usr/ /usr/