From 2c9ee0c3a798e452212d63608cbaa24992966731 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Sat, 10 Jun 2023 17:05:21 +0200 Subject: [PATCH] Switch to Debian 12 --- Dockerfile | 2 +- Makefile | 2 +- start.sh | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a23b7d4..86c84e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:11 +FROM debian:bookworm RUN DEBIAN_FRONTEND=noninteractive apt-get update RUN DEBIAN_FRONTEND=noninteractive apt-get upgrade -y diff --git a/Makefile b/Makefile index 6ea6101..9416917 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ REPO=harbor.hq.rosti.cz/rosti/runtime DOCKER=docker -VERSION=2023.04-1 +VERSION=2023.06-1 BASEIMAGE=debian:11 all: build diff --git a/start.sh b/start.sh index da6cf34..2c512d8 100755 --- a/start.sh +++ b/start.sh @@ -125,6 +125,12 @@ if [ -e /srv/app/init.sh ]; then su app -c /srv/app/init.sh fi +if [ -e /srv/init.sh ]; then + echo "Starting /srv/init.sh .." + chmod 755 /srv/init.sh + su app -c /srv/init.sh +fi + # Custom /etc/ssl/openssl.cnf if [ -e /srv/conf/openssl.cnf ]; then rm /etc/ssl/openssl.cnf