Update Dockerfile

This commit is contained in:
Grant Bevis 2022-05-27 11:05:26 +01:00 committed by GitHub
parent 1efa500ae2
commit c410bcc713
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,12 @@
FROM alpine:3 FROM alpine:3.16.0
LABEL maintainer="b3vis" LABEL maintainer="b3vis"
#Install Borg & SSH #Install Borg & SSH
RUN apk add --no-cache openssh=8.8_p1-r1 sshfs=3.7.2-r0 borgbackup=1.1.17-r2 supervisor=4.2.2-r2 RUN apk add --no-cache \
openssh=9.0_p1-r1 \
sshfs=3.7.2-r1 \
borgbackup=1.2.0-r0 \
supervisor=4.2.4-r0
RUN adduser -D -u 1000 borg && \ RUN adduser -D -u 1000 borg && \
passwd -u borg && \ passwd -u borg && \
mkdir -m 0700 /backups && \ mkdir -m 0700 /backups && \