feat: use alpine base image

This commit is contained in:
Michael Mandl 2022-10-09 13:33:33 +02:00
parent e24093769c
commit 0c6b7c34d2
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7
5 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
FROM debian FROM alpine
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y wget lftp mariadb-client postgresql-client RUN apk add --no-cache wget lftp mariadb-client postgresql-client
ARG CLIENT_VERSION ARG CLIENT_VERSION

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env sh
REMOTE_DIR="/" REMOTE_DIR="/"
LOCAL_DIR="/backup/ftp" LOCAL_DIR="/backup/ftp"

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env sh
BACKUP_DIR="/backup/database" BACKUP_DIR="/backup/database"

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env sh
BACKUP_DIR="/backup/database" BACKUP_DIR="/backup/database"

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env sh
if [[ -n "$DO_FTP_BACKUP" ]]; then if [[ -n "$DO_FTP_BACKUP" ]]; then
sh /usr/local/etc/urbackup/ftp_backup.sh sh /usr/local/etc/urbackup/ftp_backup.sh