Skip to content

Commit

Permalink
revert to official awscli binary
Browse files Browse the repository at this point in the history
the ubuntu awscli fails with errors like:

upload failed: unpack-dir/.stack-work/install/x86_64-linux-tinfo6/d7d205a89b6867ea4451395ec473d03fcbc958590d23b15706959684c77259fd/9.8.2/doc/zstd-0.1.3.0/zstd.haddock to s3://stackage-haddock/nightly-2024-07-11/zstd-0.1.3.0/zstd.haddock An error occurred (InvalidAccessKeyId) when calling the PutObject operation: The AWS Access Key Id you provided does not exist in our records.
  • Loading branch information
juhp committed Jul 11, 2024
1 parent d73d189 commit 079410d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 10 additions & 0 deletions docker/01-build-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,13 @@ export DEBIAN_FRONTEND=noninteractive

apt-get update
apt-get install -y curl unzip

# Install AWS CLI
mkdir -p /tmp/awscli
(
cd /tmp/awscli
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip -q awscliv2.zip
./aws/install --bin-dir /usr/bin
)
rm -rf /tmp/awscli
1 change: 0 additions & 1 deletion docker/02-apt-get-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ apt-get update

apt-get install -y \
apt-transport-https \
awscli \
build-essential \
cmake \
coinor-libclp-dev \
Expand Down

0 comments on commit 079410d

Please sign in to comment.