-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from SmartBear-DevRel/fix/bins
fix: drop PublishTrimmed from binary dist
- Loading branch information
Showing
4 changed files
with
83 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM alpine | ||
RUN apk --no-cache add curl gcc icu | ||
|
||
RUN if [ "$(uname -m)" = "aarch64" ]; then \ | ||
export BINARY_ARCH=arm64; \ | ||
elif [ "$(uname -m)" = "x86_64" ]; then \ | ||
export BINARY_ARCH=x64; \ | ||
else \ | ||
echo unsupported arch "$(uname -m)"; \ | ||
exit 1; \ | ||
fi && \ | ||
curl -LO https://github.com/smartbear-devrel/explore-cli/releases/download/0.6.0/explore-cli-linux-musl-$BINARY_ARCH.gz && \ | ||
gunzip explore-cli-linux-musl-$BINARY_ARCH.gz && \ | ||
chmod +x explore-cli-linux-musl-$BINARY_ARCH && \ | ||
mv explore-cli-linux-musl-$BINARY_ARCH /usr/local/bin/explore-cli && \ | ||
rm -rf explore-cli-linux-musl-$BINARY_ARCH.gz | ||
ENTRYPOINT [ "explore-cli" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM debian:12-slim | ||
RUN apt update && apt install -y curl libicu-dev | ||
|
||
RUN if [ "$(uname -m)" = "aarch64" ]; then \ | ||
export BINARY_ARCH=arm64; \ | ||
elif [ "$(uname -m)" = "x86_64" ]; then \ | ||
export BINARY_ARCH=x64; \ | ||
else \ | ||
echo unsupported arch "$(uname -m)"; \ | ||
exit 1; \ | ||
fi && \ | ||
curl -LO https://github.com/smartbear-devrel/explore-cli/releases/download/0.6.0/explore-cli-linux-$BINARY_ARCH.gz && \ | ||
gunzip explore-cli-linux-$BINARY_ARCH.gz && \ | ||
chmod +x explore-cli-linux-$BINARY_ARCH && \ | ||
mv explore-cli-linux-$BINARY_ARCH /usr/local/bin/explore-cli && \ | ||
rm -rf explore-cli-linux-$BINARY_ARCH.gz | ||
ENTRYPOINT [ "explore-cli" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters