From 73cb344c5f09c33dc0cea5ff57c57b7cf55c9270 Mon Sep 17 00:00:00 2001 From: Brian Yoonjae Kim Date: Wed, 6 Mar 2024 16:00:25 -0800 Subject: [PATCH] fix: apt mark hold 17 --- 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 ae31147..4d22fcc 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 +apt-mark hold openjdk-17-jre-headless #echo new cron into cron file echo '0 * * * * docker system prune --all --force --filter "until=1h"' | crontab