feat: use alpine base image
This commit is contained in:
parent
e24093769c
commit
0c6b7c34d2
@ -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
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
REMOTE_DIR="/"
|
REMOTE_DIR="/"
|
||||||
LOCAL_DIR="/backup/ftp"
|
LOCAL_DIR="/backup/ftp"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
BACKUP_DIR="/backup/database"
|
BACKUP_DIR="/backup/database"
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
BACKUP_DIR="/backup/database"
|
BACKUP_DIR="/backup/database"
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user