Skip to content

Commit

Permalink
Remove upx from the kubeone-e2e image (#1443)
Browse files Browse the repository at this point in the history
Signed-off-by: Marko Mudrinić <[email protected]>
  • Loading branch information
xmudrii authored Aug 13, 2021
1 parent 8a93303 commit a6a2e6e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions hack/images/kubeone-e2e/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
FROM golang:1.16.7 as builder

RUN apt-get update && apt-get install -y \
unzip \
upx-ucl
unzip

ENV TERRAFORM_VERSION "1.0.4"
RUN curl -fL https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip | funzip >/usr/local/bin/terraform
Expand Down
3 changes: 0 additions & 3 deletions hack/images/kubeone-e2e/install-kube-tests-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ for version in "${!full_versions[@]}"; do
rm "${directory}"/kubernetes/platforms/linux/amd64/genyaml
rm "${directory}"/kubernetes/platforms/linux/amd64/kubemark
rm "${directory}"/kubernetes/platforms/linux/amd64/linkcheck
if [ "$(command -v upx)" ]; then
upx "${directory}"/kubernetes/platforms/linux/amd64/*
fi
fi
done

Expand Down

0 comments on commit a6a2e6e

Please sign in to comment.