mirror of
https://github.com/ep1cman/unifi-protect-backup.git
synced 2025-12-30 15:13:14 +00:00
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:
@@ -2,7 +2,7 @@
|
|||||||
# $ poetry build
|
# $ poetry build
|
||||||
# $ docker build -t ghcr.io/ep1cman/unifi-protect-backup .
|
# $ 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"
|
LABEL maintainer="ep1cman"
|
||||||
|
|
||||||
@@ -17,7 +17,8 @@ RUN \
|
|||||||
musl-dev \
|
musl-dev \
|
||||||
jpeg-dev \
|
jpeg-dev \
|
||||||
zlib-dev \
|
zlib-dev \
|
||||||
python3-dev && \
|
python3-dev \
|
||||||
|
cargo && \
|
||||||
echo "**** install packages ****" && \
|
echo "**** install packages ****" && \
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
rclone \
|
rclone \
|
||||||
|
|||||||
Reference in New Issue
Block a user