From 252ad2dc6e65f094afb6dc7082b5f0b0e1d60427 Mon Sep 17 00:00:00 2001 From: Kris Watson Date: Wed, 21 Feb 2024 11:02:07 -0800 Subject: [PATCH] Disable cron mailer --- justfile | 8 ++++++++ ubuntu-jammy/Dockerfile | 6 ++++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 justfile diff --git a/justfile b/justfile new file mode 100644 index 0000000..5f1554a --- /dev/null +++ b/justfile @@ -0,0 +1,8 @@ +# help +default: + @just --list --justfile {{ justfile() }} + +# build jammy image +build: + docker pull ghcr.io/phusion/baseimage:jammy-1.0.2 + docker build -t ghcr.io/computestacks/cs-docker-base:ubuntu-jammy ubuntu-jammy/ diff --git a/ubuntu-jammy/Dockerfile b/ubuntu-jammy/Dockerfile index a9c06b9..463f17e 100644 --- a/ubuntu-jammy/Dockerfile +++ b/ubuntu-jammy/Dockerfile @@ -1,4 +1,4 @@ -FROM phusion/baseimage:jammy-1.0.1 +FROM ghcr.io/phusion/baseimage:jammy-1.0.2 LABEL maintainer="https://computestacks.com" LABEL org.opencontainers.image.authors="https://computestacks.com" @@ -22,4 +22,6 @@ RUN set -ex; \ iputils-ping \ ; \ apt-get clean; \ - rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*; + rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \ + ; \ + sed -i 's/cron -f/cron -f -m off/g' /etc/service/cron/run