Skip to content

Commit

Permalink
flux/dockerfile /rootfs/usr/local/static/3rd/bin/upx -V;
Browse files Browse the repository at this point in the history
  • Loading branch information
sam#gemmi-win10 committed Nov 23, 2023
1 parent 5fa3a61 commit 353d3dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flux/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ FROM ubuntu:20.04 as files1
esac; \
file=upx-4.2.1-${arch}_linux.tar.xz; \
cd /tmp; curl -fSL -k -O https://ghps.cc/https://github.com/upx/upx/releases/download/v4.2.1/$file; \
dst=/tmp/unpack-upx; mkdir -p $dst; tar -Jxf $file -C $dst --strip-components 1; \
\cp -a $dst/upx /rootfs/usr/local/static/3rd/bin/; rm -f $file $dst; upx -V;
upack=/tmp/unpack-upx; mkdir -p $upack; tar -Jxf $file -C $upack --strip-components 1; \
\cp -a $upack/upx /rootfs/usr/local/static/3rd/bin/; rm -f $file $upack; /rootfs/usr/local/static/3rd/bin/upx -V;
#
COPY --from=bin /rootfs /rootfs/
COPY --from=bin2 /rootfs /rootfs/
Expand Down

0 comments on commit 353d3dd

Please sign in to comment.