Skip to content

Commit

Permalink
Merge pull request #50 from linuxserver/noble
Browse files Browse the repository at this point in the history
rebase to noble
  • Loading branch information
aptalca committed Aug 21, 2024
2 parents 60ff419 + b0ea04f commit 0ea02ba
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 31 deletions.
11 changes: 4 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

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

# set version label
ARG BUILD_DATE
Expand All @@ -10,19 +10,16 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thelamer"

RUN \
echo "**** install packages ****" && \
apt-get update && \
apt-get install -y --no-install-recommends \
gnupg && \
echo "**** install resilio-sync ****" && \
if [ -z ${SYNC_VERSION+x} ]; then \
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}'); \
fi && \
echo "deb https://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" | tee /etc/apt/sources.list.d/resilio-sync.list && \
curl -L https://linux-packages.resilio.com/resilio-sync/key.asc | apt-key add && \
curl -fsSL https://linux-packages.resilio.com/resilio-sync/key.asc | tee /usr/share/keyrings/resilio-sync.asc >/dev/null && \
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 && \
apt-get update && \
apt-get install -y --no-install-recommends \
"resilio-sync=${SYNC_VERSION}" && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
rm -rf \
/tmp/* \
Expand Down
11 changes: 4 additions & 7 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

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

# set version label
ARG BUILD_DATE
Expand All @@ -10,19 +10,16 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thelamer"

RUN \
echo "**** install packages ****" && \
apt-get update && \
apt-get install -y --no-install-recommends \
gnupg && \
echo "**** install resilio-sync ****" && \
if [ -z ${SYNC_VERSION+x} ]; then \
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}'); \
fi && \
echo "deb https://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" | tee /etc/apt/sources.list.d/resilio-sync.list && \
curl -L https://linux-packages.resilio.com/resilio-sync/key.asc | apt-key add && \
curl -fsSL https://linux-packages.resilio.com/resilio-sync/key.asc | tee /usr/share/keyrings/resilio-sync.asc >/dev/null && \
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 && \
apt-get update && \
apt-get install -y --no-install-recommends \
"resilio-sync=${SYNC_VERSION}" && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
rm -rf \
/tmp/* \
Expand Down
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ pipeline {
CI_PORT='8888'
CI_SSL='false'
CI_DELAY='120'
CI_DOCKERENV='TZ=US/Pacific'
CI_AUTH='user:password'
CI_DOCKERENV=''
CI_AUTH=''
CI_WEBPATH='/gui'
}
stages {
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Find us at:

[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.

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

## Supported Architectures

Expand Down Expand Up @@ -79,7 +79,7 @@ services:
- PGID=1000
- TZ=Etc/UTC
volumes:
- /path/to/config:/config
- /path/to/resilio-sync/config:/config
- /path/to/downloads:/downloads
- /path/to/data:/sync
ports:
Expand All @@ -98,7 +98,7 @@ docker run -d \
-e TZ=Etc/UTC \
-p 8888:8888 \
-p 55555:55555 \
-v /path/to/config:/config \
-v /path/to/resilio-sync/config:/config \
-v /path/to/downloads:/downloads \
-v /path/to/data:/sync \
--restart unless-stopped \
Expand Down Expand Up @@ -281,6 +281,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **21.08.24:** - Rebase to Noble.
* **03.07.23:** - Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)
* **14.12.22:** - Rebase to Jammy, migrate to s6v3.
* **03.10.21:** - Use upstream apt repo to install. Rebase to focal.
Expand Down
4 changes: 2 additions & 2 deletions jenkins-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ repo_vars:
- CI_PORT='8888'
- CI_SSL='false'
- CI_DELAY='120'
- CI_DOCKERENV='TZ=US/Pacific'
- CI_AUTH='user:password'
- CI_DOCKERENV=''
- CI_AUTH=''
- CI_WEBPATH='/gui'
13 changes: 3 additions & 10 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,26 @@
# project information
project_name: resilio-sync
project_url: "https://www.resilio.com/individuals/"
project_logo: "https://www.resilio.com/img/individual/freeproduct.jpg"
project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/resilio-sync-logo.png"
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."
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
project_blurb_optional_extras_enabled: false
# supported architectures
available_architectures:
- {arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
- {arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
# development version
development_versions: false
# container parameters
common_param_env_vars_enabled: true
param_container_name: "{{ project_name }}"
param_usage_include_net: false
param_usage_include_env: true
param_env_vars:
- {env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London."}
opt_param_usage_include_env: false
param_usage_include_vols: true
param_volumes:
- {vol_path: "/config", vol_host_path: "/path/to/config", desc: "Where resilio-sync should store its config file."}
- {vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "Where resilio-sync should store its config file."}
- {vol_path: "/downloads", vol_host_path: "/path/to/downloads", desc: "Folder for downloads/cache."}
- {vol_path: "/sync", vol_host_path: "/path/to/data", desc: "Sync folders root."}
param_usage_include_ports: true
param_ports:
- {external_port: "8888", internal_port: "8888", port_desc: "WebUI"}
- {external_port: "55555", internal_port: "55555", port_desc: "Sync Port."}
param_device_map: false
cap_add_param: false
# application setup block
app_setup_block_enabled: true
Expand All @@ -39,6 +31,7 @@ app_setup_block: |
* More info on setup at [Resilio Sync]({{ project_url }})
# changelog
changelogs:
- {date: "21.08.24:", desc: "Rebase to Noble."}
- {date: "03.07.23:", desc: "Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)"}
- {date: "14.12.22:", desc: "Rebase to Jammy, migrate to s6v3."}
- {date: "03.10.21:", desc: "Use upstream apt repo to install. Rebase to focal."}
Expand Down

0 comments on commit 0ea02ba

Please sign in to comment.