Skip to content

Commit

Permalink
fix: Fix binary naming scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark S committed Jul 18, 2022
1 parent 45c91dd commit 4f3077e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ COPY ./artifacts/ /artifacts/precompiled

RUN export TARGET_OS="$(uname -s | awk '{ print tolower($0) }')" \
&& export TARGET_ARCH="$(uname -m | sed 's#x86_64#amd64#g; s#aarch64#arm64#g')" \
&& mv "$(pwd)/precompiled/pinnothera-${TARGET_OS}-${TARGET_ARCH}-${PINN_PROFILE}" "$(pwd)/pinnothera-bin" \
&& mv "$(pwd)/precompiled/pinnothera-${TARGET_ARCH}-${TARGET_OS}-${PINN_PROFILE}" "$(pwd)/pinnothera-bin" \
&& rm -rf "$(pwd)/precompiled" \
&& chmod +x "$(pwd)/pinnothera-bin"

Expand Down

0 comments on commit 4f3077e

Please sign in to comment.