feat: use alpine base image

main
mandlm 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

View File

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

View File

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

View File

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

View File

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