Skip to content

Commit 7259b31

Browse files
authored
Merge pull request #77 from linuxserver/dev-noble
rebase to noble, switch to net core
2 parents bfd5120 + a138c52 commit 7259b31

File tree

5 files changed

+21
-34
lines changed

5 files changed

+21
-34
lines changed

Dockerfile

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy
3+
FROM ghcr.io/linuxserver/baseimage-ubuntu:noble
44

55
# set version label
66
ARG BUILD_DATE
@@ -14,28 +14,24 @@ ARG DEBIAN_FRONTEND="noninteractive"
1414
ENV HOME="/config"
1515

1616
RUN \
17-
echo "**** add mono repository ****" && \
18-
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \
19-
echo "deb http://download.mono-project.com/repo/ubuntu stable-focal main" | tee /etc/apt/sources.list.d/mono-official.list && \
2017
echo "**** install packages ****" && \
2118
apt-get update && \
2219
apt-get install -y \
23-
mono-devel \
24-
mono-vbnc \
20+
libicu74 \
2521
unzip && \
2622
echo "**** install duplicati ****" && \
2723
if [ -z ${DUPLICATI_RELEASE+x} ]; then \
2824
DUPLICATI_RELEASE=$(curl -sX GET "https://api.github.com/repos/duplicati/duplicati/releases" \
2925
| jq -r 'first(.[] | select(.tag_name | contains("canary"))) | .tag_name'); \
3026
fi && \
31-
mkdir -p \
32-
/app/duplicati && \
33-
duplicati_url=$(curl -s https://api.github.com/repos/duplicati/duplicati/releases/tags/"${DUPLICATI_RELEASE}" |jq -r '.assets[].browser_download_url' |grep '.zip$' |grep -v signatures) || \
34-
duplicati_url="https://updates.duplicati.com/canary/duplicati-$(echo $DUPLICATI_RELEASE | sed 's|^v[0-9.]*-||').zip" && \
35-
curl -fso \
27+
duplicati_url=$(curl -s https://api.github.com/repos/duplicati/duplicati/releases/tags/"${DUPLICATI_RELEASE}" |jq -r '.assets[].browser_download_url' |grep 'linux-x64-gui.zip$') || \
28+
duplicati_url="https://updates.duplicati.com/canary/duplicati-${DUPLICATI_RELEASE}-linux-x64-gui.zip" && \
29+
curl -fo \
3630
/tmp/duplicati.zip -L \
3731
"${duplicati_url}" && \
38-
unzip -q /tmp/duplicati.zip -d /app/duplicati && \
32+
unzip -q /tmp/duplicati.zip -d /app && \
33+
mv /app/duplicati* /app/duplicati && \
34+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
3935
echo "**** cleanup ****" && \
4036
apt-get clean && \
4137
rm -rf \

Dockerfile.aarch64

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-jammy
3+
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-noble
44

55
# set version label
66
ARG BUILD_DATE
@@ -14,28 +14,24 @@ ARG DEBIAN_FRONTEND="noninteractive"
1414
ENV HOME="/config"
1515

1616
RUN \
17-
echo "**** add mono repository ****" && \
18-
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \
19-
echo "deb http://download.mono-project.com/repo/ubuntu stable-focal main" | tee /etc/apt/sources.list.d/mono-official.list && \
2017
echo "**** install packages ****" && \
2118
apt-get update && \
2219
apt-get install -y \
23-
mono-devel \
24-
mono-vbnc \
20+
libicu74 \
2521
unzip && \
2622
echo "**** install duplicati ****" && \
2723
if [ -z ${DUPLICATI_RELEASE+x} ]; then \
2824
DUPLICATI_RELEASE=$(curl -sX GET "https://api.github.com/repos/duplicati/duplicati/releases" \
2925
| jq -r 'first(.[] | select(.tag_name | contains("canary"))) | .tag_name'); \
3026
fi && \
31-
mkdir -p \
32-
/app/duplicati && \
33-
duplicati_url=$(curl -s https://api.github.com/repos/duplicati/duplicati/releases/tags/"${DUPLICATI_RELEASE}" |jq -r '.assets[].browser_download_url' |grep '.zip$' |grep -v signatures) || \
34-
duplicati_url="https://updates.duplicati.com/canary/duplicati-$(echo $DUPLICATI_RELEASE | sed 's|^v[0-9.]*-||').zip" && \
27+
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$') || \
28+
duplicati_url="https://updates.duplicati.com/canary/duplicati-${DUPLICATI_RELEASE}-linux-arm64-gui.zip" && \
3529
curl -fso \
3630
/tmp/duplicati.zip -L \
3731
"${duplicati_url}" && \
38-
unzip -q /tmp/duplicati.zip -d /app/duplicati && \
32+
unzip -q /tmp/duplicati.zip -d /app && \
33+
mv /app/duplicati* /app/duplicati && \
34+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
3935
echo "**** cleanup ****" && \
4036
apt-get clean && \
4137
rm -rf \

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ services:
8888
- TZ=Etc/UTC
8989
- CLI_ARGS= #optional
9090
volumes:
91-
- /path/to/appdata/config:/config
91+
- /path/to/duplicati/config:/config
9292
- /path/to/backups:/backups
9393
- /path/to/source:/source
9494
ports:
@@ -106,7 +106,7 @@ docker run -d \
106106
-e TZ=Etc/UTC \
107107
-e CLI_ARGS= `#optional` \
108108
-p 8200:8200 \
109-
-v /path/to/appdata/config:/config \
109+
-v /path/to/duplicati/config:/config \
110110
-v /path/to/backups:/backups \
111111
-v /path/to/source:/source \
112112
--restart unless-stopped \
@@ -289,6 +289,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
289289

290290
## Versions
291291

292+
* **30.05.23:** - Rebase to Noble, switch to net core.
292293
* **15.02.23:** - Rebase to Jammy.
293294
* **03.08.22:** - Deprecate armhf.
294295
* **13.03.22:** - Fix artifact link.

readme-vars.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,32 +23,26 @@ common_param_env_vars_enabled: true
2323
param_container_name: "{{ project_name }}"
2424
param_usage_include_vols: true
2525
param_volumes:
26-
- { vol_path: "/config", vol_host_path: "/path/to/appdata/config", desc: "Contains all relevant configuration files." }
26+
- { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "Contains all relevant configuration files." }
2727
- { vol_path: "/backups", vol_host_path: "/path/to/backups", desc: "Path to store local backups." }
2828
- { vol_path: "/source", vol_host_path: "/path/to/source", desc: "Path to source for files to backup." }
2929
param_usage_include_ports: true
3030
param_ports:
3131
- { external_port: "8200", internal_port: "8200", port_desc: "http gui" }
32-
param_usage_include_env: true
33-
param_env_vars:
34-
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London"}
3532

3633
# optional container parameters
3734
opt_param_usage_include_env: true
3835
opt_param_env_vars:
3936
- { env_var: "CLI_ARGS", env_value: "", desc: "Optionally specify any [CLI variables](https://duplicati.readthedocs.io/en/latest/07-other-command-line-utilities/) you want to launch the app with" }
4037

41-
# optional parameters
42-
optional_block_1: false
43-
optional_block_1_items: ""
44-
4538
# application setup block
4639
app_setup_block_enabled: true
4740
app_setup_block: |
4841
The webui is at `<your ip>:8200` , create backup jobs etc via the webui, for local backups select `/backups` as the destination. For more information see [Duplicati]({{project_url}}).
4942
5043
# changelog
5144
changelogs:
45+
- { date: "30.05.23:", desc: "Rebase to Noble, switch to net core." }
5246
- { date: "15.02.23:", desc: "Rebase to Jammy." }
5347
- { date: "03.08.22:", desc: "Deprecate armhf." }
5448
- { date: "13.03.22:", desc: "Fix artifact link." }

root/etc/s6-overlay/s6-rc.d/svc-duplicati/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33

44
exec \
55
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8200" \
6-
cd /app/duplicati s6-setuidgid abc mono Duplicati.Server.exe \
6+
cd /app/duplicati s6-setuidgid abc ./duplicati-server \
77
--webservice-interface=any --server-datafolder=/config --webservice-allowed-hostnames=* $CLI_ARGS

0 commit comments

Comments
 (0)