Fixed dockerfile for pyunifiprotect 4.0.0

As of pyunifiprotect 4.0.0, a rust based library is needed.
In order for this to install correctly, cargo is needed, and alpine
needed to be bumped to 3.16.
This commit is contained in:
Sebastian Goscik
2022-07-31 11:24:30 +01:00
parent 92be1cea5d
commit 0a36102eed

View File

@@ -2,7 +2,7 @@
# $ poetry build
# $ docker build -t ghcr.io/ep1cman/unifi-protect-backup .
FROM ghcr.io/linuxserver/baseimage-alpine:3.15
FROM ghcr.io/linuxserver/baseimage-alpine:3.16
LABEL maintainer="ep1cman"
@@ -17,7 +17,8 @@ RUN \
musl-dev \
jpeg-dev \
zlib-dev \
python3-dev && \
python3-dev \
cargo && \
echo "**** install packages ****" && \
apk add --no-cache \
rclone \