From e2eaeea6830cb423b9142e6f1d6d25dacb9cd063 Mon Sep 17 00:00:00 2001 From: Brian Yoonjae Kim Date: Wed, 6 Mar 2024 15:13:22 -0800 Subject: [PATCH] fix: add apt-mark hold for openjdk-11-jdk --- packer/jenkins-agents/stock/configure-jenkins.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packer/jenkins-agents/stock/configure-jenkins.sh b/packer/jenkins-agents/stock/configure-jenkins.sh index 1cf4d63..ae31147 100644 --- a/packer/jenkins-agents/stock/configure-jenkins.sh +++ b/packer/jenkins-agents/stock/configure-jenkins.sh @@ -15,7 +15,7 @@ apt install -y build-essential apt install -y python3 python3-pip pip install -q poetry launchpadlib apt install -y openjdk-17-jre-headless - +apt-mark hold openjdk-11-jdk #echo new cron into cron file echo '0 * * * * docker system prune --all --force --filter "until=1h"' | crontab