Switch to Debian 12
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Adam Štrauch 2023-06-10 17:05:21 +02:00
parent 7808e5062c
commit 2c9ee0c3a7
Signed by: cx
GPG Key ID: 018304FFA8988F8D
3 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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