Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install pigz and unpigz to speed up docker image extraction #471

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packer/scripts/al2/al2-agent-setups.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ EOF
# Install Temurin JDK 21
sudo yum install -y temurin-21-jdk

sudo yum install -y which curl git gnupg2 tar net-tools procps-ng python3 python3-devel python3-pip zip unzip jq
sudo yum install -y which curl git gnupg2 tar net-tools procps-ng python3 python3-devel python3-pip zip unzip jq pigz
sudo yum install -y docker ntp
sudo yum groupinstall -y "Development Tools"

Expand Down
4 changes: 2 additions & 2 deletions packer/scripts/al2023/al2023-agent-setups.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ fi
sudo dnf clean all
sudo rm -rf /var/cache/dnf
sudo dnf repolist
sudo dnf update --skip-broken --exclude=openssh* --exclude=docker* -y
sudo dnf update --skip-broken --exclude=openssh* --exclude=docker* --releasever=latest -y

sudo dnf install -y java-21-amazon-corretto java-21-amazon-corretto-devel
sudo dnf install -y which git tar net-tools procps-ng python3 python3-devel python3-pip zip unzip jq
sudo dnf install -y which git tar net-tools procps-ng python3 python3-devel python3-pip zip unzip jq pigz
sudo dnf install -y docker
sudo dnf groupinstall -y "Development Tools"

Expand Down
2 changes: 1 addition & 1 deletion packer/scripts/ubuntu2004/ubuntu2004-agent-setups.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ whoami
sudo apt-get update -y && (sudo killall -9 apt-get apt 2>&1 || echo)
sudo apt-get upgrade -y && sudo apt-get install -y software-properties-common && sudo add-apt-repository ppa:jacob/virtualisation -y
sudo apt-get update -y && sudo apt-get install -y binfmt-support qemu qemu-user qemu-user-static docker.io curl python3-pip && sudo pip3 install awscli
sudo apt-get install -y docker docker.io docker-compose ntp curl git gnupg2 tar zip unzip jq
sudo apt-get install -y docker docker.io docker-compose ntp curl git gnupg2 tar zip unzip jq pigz
sudo apt-get install -y build-essential

# Replace default curl 7.68 on Ubuntu 20.04 with 7.75+ version to support aws-sigv4
Expand Down
Loading