Skip to content

Commit 0d6e23a

Browse files
committed
Replicated changes in aarch64
1 parent ffd009a commit 0d6e23a

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

Dockerfile.aarch64

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,39 @@ LABEL maintainer="aptalca"
1212
# environment settings
1313
ARG DEBIAN_FRONTEND="noninteractive"
1414
ENV HOME="/config" \
15-
TMPDIR=/run/duplicati-temp
15+
TMPDIR=/run/duplicati-temp \
16+
DUPLICATI__SERVER_DATAFOLDER=/config \
17+
DUPLICATI__WEBSERVICE_PORT=8200 \
18+
DUPLICATI__WEBSERVICE_INTERFACE=any \
19+
DUPLICATI__WEBSERVICE_ALLOWED_HOSTNAMES=* \
20+
DUPLICATI__DISABLE_DB_ENCRYPTION=true \
21+
DUPLICATI__REQUIRE_DB_ENCRYPTION_KEY=true
1622

1723
RUN \
1824
echo "**** install packages ****" && \
1925
apt-get update && \
2026
apt-get install -y \
21-
libicu74 \
22-
unzip && \
27+
libicu74 \
28+
unzip && \
2329
echo "**** install duplicati ****" && \
2430
if [ -z ${DUPLICATI_RELEASE+x} ]; then \
25-
DUPLICATI_RELEASE=$(curl -sX GET "https://api.github.com/repos/duplicati/duplicati/releases" \
26-
| jq -r 'first(.[] | select(.tag_name | contains("canary"))) | .tag_name'); \
31+
DUPLICATI_RELEASE=$(curl -sX GET "https://api.github.com/repos/duplicati/duplicati/releases" \
32+
| jq -r 'first(.[] | select(.tag_name | contains("canary"))) | .tag_name'); \
2733
fi && \
2834
duplicati_url=$(curl -s https://api.github.com/repos/duplicati/duplicati/releases/tags/"${DUPLICATI_RELEASE}" |jq -r '.assets[].browser_download_url' |grep 'linux-arm64-gui.zip$') || \
29-
duplicati_url="https://updates.duplicati.com/canary/duplicati-${DUPLICATI_RELEASE}-linux-arm64-gui.zip" && \
35+
duplicati_url="https://updates.duplicati.com/canary/duplicati-${DUPLICATI_RELEASE}-linux-arm64-gui.zip" && \
3036
curl -fso \
31-
/tmp/duplicati.zip -L \
32-
"${duplicati_url}" && \
37+
/tmp/duplicati.zip -L \
38+
"${duplicati_url}" && \
3339
unzip -q /tmp/duplicati.zip -d /app && \
3440
mv /app/duplicati* /app/duplicati && \
3541
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
3642
echo "**** cleanup ****" && \
3743
apt-get clean && \
3844
rm -rf \
39-
/tmp/* \
40-
/var/lib/apt/lists/* \
41-
/var/tmp/*
45+
/tmp/* \
46+
/var/lib/apt/lists/* \
47+
/var/tmp/*
4248

4349
# copy local files
4450
COPY root/ /

0 commit comments

Comments
 (0)