Skip to content

Commit

Permalink
[Chore] upx only provided binaries
Browse files Browse the repository at this point in the history
Problem: Currently, we `upx` all `octez-*` files,
which are not always binaries, resulting in error.

Solution: `upx` only octez executables provided by us.
  • Loading branch information
krendelhoff2 committed Nov 21, 2023
1 parent 4cd36b2 commit f68926d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ RUN /build-deps.sh
COPY ./build/build-tezos.sh /build-tezos.sh
ARG OCTEZ_EXECUTABLES
RUN /build-tezos.sh
RUN upx octez-*
RUN upx $OCTEZ_EXECUTABLES
2 changes: 1 addition & 1 deletion docker/build/Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ RUN /build-deps.sh
COPY ./build/build-tezos.sh /build-tezos.sh
ARG OCTEZ_EXECUTABLES
RUN /build-tezos.sh
RUN upx octez-*
RUN upx $OCTEZ_EXECUTABLES

0 comments on commit f68926d

Please sign in to comment.