speed up the roundtrip
This commit is contained in:
parent
2b2f2294ae
commit
6eef7c911f
3 changed files with 4 additions and 4 deletions
|
@ -2,5 +2,6 @@ FROM ubuntu:24.04
|
|||
|
||||
# install it
|
||||
ADD resources /tmp/
|
||||
ADD local/ /usr/local/lib/dda-backup
|
||||
RUN /tmp/install.sh
|
||||
ADD local/ /usr/local/lib/dda-backup
|
||||
RUN init-bb.bb
|
||||
|
|
|
@ -15,7 +15,7 @@ function babashka_install() {
|
|||
function main() {
|
||||
{
|
||||
upgradeSystem
|
||||
apt-get install -qqy ca-certificates curl gnupg postgresql-client-16 restic openjdk-21-jre-headless
|
||||
apt-get install -qqy ca-certificates curl gnupg postgresql-client-16 restic openjdk-21-jre-headless nano
|
||||
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
|
||||
|
@ -23,8 +23,7 @@ function main() {
|
|||
} > /dev/null
|
||||
|
||||
update-ca-certificates
|
||||
/tmp/init.bb
|
||||
|
||||
install -m 0700 -o root -g root /tmp/init-bb.bb /usr/local/bin/
|
||||
cleanupDocker
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue