From d0d0da7fba425055b1b1582581d7228161fd309b Mon Sep 17 00:00:00 2001 From: Brian Yoonjae Kim <86014359+naut-brian@users.noreply.github.com> Date: Wed, 6 Mar 2024 15:31:04 -0800 Subject: [PATCH] fix: add apt-mark hold for openjdk-11-jdk (#92) --- 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