update image

This commit is contained in:
Michael Jerger 2024-08-22 09:00:22 +02:00
parent 03a9b0aef6
commit 3095050ebf
2 changed files with 4 additions and 5 deletions

View file

@ -15,7 +15,7 @@ function babashka_install() {
function main() {
{
upgradeSystem
apt-get install -qqy ca-certificates curl gnupg postgresql-client-16 restic
apt-get install -qqy ca-certificates curl gnupg postgresql-client-16 restic openjdk-21-jre-headless
curl -Ss --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/postgresql-common_pgdg_archive_keyring.gpg
sh -c 'echo "deb [signed-by=/etc/apt/trusted.gpg.d/postgresql-common_pgdg_archive_keyring.gpg] https://apt.postgresql.org/pub/repos/apt jammy-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
upgradeSystem

View file

@ -1,7 +1,6 @@
FROM c4k-forgejo-backup:latest
FROM dda-backup:latest
# install it
RUN apt update && apt install -qqy openjdk-17-jre-headless
ADD local/ /usr/local/lib/dda-backup
#ADD local/ /usr/local/lib/dda-backup
ADD resources /tmp/
RUN ENV_PASSWORD=env-password /tmp/test.bb