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