Skip to content

Commit 0ea02ba

Browse files
authored
Merge pull request #50 from linuxserver/noble
rebase to noble
2 parents 60ff419 + b0ea04f commit 0ea02ba

6 files changed

Lines changed: 19 additions & 31 deletions

File tree

Dockerfile

Lines changed: 4 additions & 7 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
@@ -10,19 +10,16 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
1010
LABEL maintainer="thelamer"
1111

1212
RUN \
13-
echo "**** install packages ****" && \
14-
apt-get update && \
15-
apt-get install -y --no-install-recommends \
16-
gnupg && \
1713
echo "**** install resilio-sync ****" && \
1814
if [ -z ${SYNC_VERSION+x} ]; then \
1915
SYNC_VERSION=$(curl -sX GET https://linux-packages.resilio.com/resilio-sync/deb/dists/resilio-sync/non-free/binary-amd64/Packages |grep -A 7 -m 1 'Package: resilio-sync' | awk -F ': ' '/Version/{print $2;exit}'); \
2016
fi && \
21-
echo "deb https://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" | tee /etc/apt/sources.list.d/resilio-sync.list && \
22-
curl -L https://linux-packages.resilio.com/resilio-sync/key.asc | apt-key add && \
17+
curl -fsSL https://linux-packages.resilio.com/resilio-sync/key.asc | tee /usr/share/keyrings/resilio-sync.asc >/dev/null && \
18+
echo "deb [aarch=amd64 signed-by=/usr/share/keyrings/resilio-sync.asc] https://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" > /etc/apt/sources.list.d/resilio-sync.list && \
2319
apt-get update && \
2420
apt-get install -y --no-install-recommends \
2521
"resilio-sync=${SYNC_VERSION}" && \
22+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
2623
echo "**** cleanup ****" && \
2724
rm -rf \
2825
/tmp/* \

Dockerfile.aarch64

Lines changed: 4 additions & 7 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
@@ -10,19 +10,16 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
1010
LABEL maintainer="thelamer"
1111

1212
RUN \
13-
echo "**** install packages ****" && \
14-
apt-get update && \
15-
apt-get install -y --no-install-recommends \
16-
gnupg && \
1713
echo "**** install resilio-sync ****" && \
1814
if [ -z ${SYNC_VERSION+x} ]; then \
1915
SYNC_VERSION=$(curl -sX GET https://linux-packages.resilio.com/resilio-sync/deb/dists/resilio-sync/non-free/binary-amd64/Packages |grep -A 7 -m 1 'Package: resilio-sync' | awk -F ': ' '/Version/{print $2;exit}'); \
2016
fi && \
21-
echo "deb https://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" | tee /etc/apt/sources.list.d/resilio-sync.list && \
22-
curl -L https://linux-packages.resilio.com/resilio-sync/key.asc | apt-key add && \
17+
curl -fsSL https://linux-packages.resilio.com/resilio-sync/key.asc | tee /usr/share/keyrings/resilio-sync.asc >/dev/null && \
18+
echo "deb [aarch=arm64 signed-by=/usr/share/keyrings/resilio-sync.asc] https://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" > /etc/apt/sources.list.d/resilio-sync.list && \
2319
apt-get update && \
2420
apt-get install -y --no-install-recommends \
2521
"resilio-sync=${SYNC_VERSION}" && \
22+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
2623
echo "**** cleanup ****" && \
2724
rm -rf \
2825
/tmp/* \

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ pipeline {
3333
CI_PORT='8888'
3434
CI_SSL='false'
3535
CI_DELAY='120'
36-
CI_DOCKERENV='TZ=US/Pacific'
37-
CI_AUTH='user:password'
36+
CI_DOCKERENV=''
37+
CI_AUTH=''
3838
CI_WEBPATH='/gui'
3939
}
4040
stages {

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Find us at:
4141

4242
[Resilio-sync](https://www.resilio.com/individuals/) (formerly BitTorrent Sync) uses the BitTorrent protocol to sync files and folders between all of your devices. There are both free and paid versions, this container supports both. There is an official sync image but we created this one as it supports user mapping to simplify permissions for volumes.
4343

44-
[![resilio-sync](https://www.resilio.com/img/individual/freeproduct.jpg)](https://www.resilio.com/individuals/)
44+
[![resilio-sync](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/resilio-sync-logo.png)](https://www.resilio.com/individuals/)
4545

4646
## Supported Architectures
4747

@@ -79,7 +79,7 @@ services:
7979
- PGID=1000
8080
- TZ=Etc/UTC
8181
volumes:
82-
- /path/to/config:/config
82+
- /path/to/resilio-sync/config:/config
8383
- /path/to/downloads:/downloads
8484
- /path/to/data:/sync
8585
ports:
@@ -98,7 +98,7 @@ docker run -d \
9898
-e TZ=Etc/UTC \
9999
-p 8888:8888 \
100100
-p 55555:55555 \
101-
-v /path/to/config:/config \
101+
-v /path/to/resilio-sync/config:/config \
102102
-v /path/to/downloads:/downloads \
103103
-v /path/to/data:/sync \
104104
--restart unless-stopped \
@@ -281,6 +281,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
281281

282282
## Versions
283283

284+
* **21.08.24:** - Rebase to Noble.
284285
* **03.07.23:** - Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)
285286
* **14.12.22:** - Rebase to Jammy, migrate to s6v3.
286287
* **03.10.21:** - Use upstream apt repo to install. Rebase to focal.

jenkins-vars.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ repo_vars:
2222
- CI_PORT='8888'
2323
- CI_SSL='false'
2424
- CI_DELAY='120'
25-
- CI_DOCKERENV='TZ=US/Pacific'
26-
- CI_AUTH='user:password'
25+
- CI_DOCKERENV=''
26+
- CI_AUTH=''
2727
- CI_WEBPATH='/gui'

readme-vars.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,26 @@
33
# project information
44
project_name: resilio-sync
55
project_url: "https://www.resilio.com/individuals/"
6-
project_logo: "https://www.resilio.com/img/individual/freeproduct.jpg"
6+
project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/resilio-sync-logo.png"
77
project_blurb: "[{{ project_name|capitalize }}]({{ project_url }}) (formerly BitTorrent Sync) uses the BitTorrent protocol to sync files and folders between all of your devices. There are both free and paid versions, this container supports both. There is an official sync image but we created this one as it supports user mapping to simplify permissions for volumes."
88
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
99
project_blurb_optional_extras_enabled: false
1010
# supported architectures
1111
available_architectures:
1212
- {arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
1313
- {arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
14-
# development version
15-
development_versions: false
1614
# container parameters
1715
common_param_env_vars_enabled: true
1816
param_container_name: "{{ project_name }}"
19-
param_usage_include_net: false
20-
param_usage_include_env: true
21-
param_env_vars:
22-
- {env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London."}
23-
opt_param_usage_include_env: false
2417
param_usage_include_vols: true
2518
param_volumes:
26-
- {vol_path: "/config", vol_host_path: "/path/to/config", desc: "Where resilio-sync should store its config file."}
19+
- {vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "Where resilio-sync should store its config file."}
2720
- {vol_path: "/downloads", vol_host_path: "/path/to/downloads", desc: "Folder for downloads/cache."}
2821
- {vol_path: "/sync", vol_host_path: "/path/to/data", desc: "Sync folders root."}
2922
param_usage_include_ports: true
3023
param_ports:
3124
- {external_port: "8888", internal_port: "8888", port_desc: "WebUI"}
3225
- {external_port: "55555", internal_port: "55555", port_desc: "Sync Port."}
33-
param_device_map: false
3426
cap_add_param: false
3527
# application setup block
3628
app_setup_block_enabled: true
@@ -39,6 +31,7 @@ app_setup_block: |
3931
* More info on setup at [Resilio Sync]({{ project_url }})
4032
# changelog
4133
changelogs:
34+
- {date: "21.08.24:", desc: "Rebase to Noble."}
4235
- {date: "03.07.23:", desc: "Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)"}
4336
- {date: "14.12.22:", desc: "Rebase to Jammy, migrate to s6v3."}
4437
- {date: "03.10.21:", desc: "Use upstream apt repo to install. Rebase to focal."}

0 commit comments

Comments
 (0)