Skip to content

Commit e1c7d60

Browse files
authored
Merge pull request #53 from linuxserver/master-3.20
2 parents c096002 + a3348d2 commit e1c7d60

File tree

6 files changed

+12
-17
lines changed

6 files changed

+12
-17
lines changed

Dockerfile

Lines changed: 3 additions & 2 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-alpine:3.19
3+
FROM ghcr.io/linuxserver/baseimage-alpine:3.20
44

55
# set version label
66
ARG BUILD_DATE
@@ -29,9 +29,10 @@ RUN \
2929
pip install -U --no-cache-dir \
3030
pip \
3131
wheel && \
32-
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.19/ \
32+
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ \
3333
cryptography \
3434
python-ldap=="${LDAP_VERSION}" && \
35+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
3536
echo "**** cleanup ****" && \
3637
apk del --purge \
3738
build-dependencies && \

Dockerfile.aarch64

Lines changed: 3 additions & 2 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-alpine:arm64v8-3.19
3+
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.20
44

55
# set version label
66
ARG BUILD_DATE
@@ -29,9 +29,10 @@ RUN \
2929
pip install -U --no-cache-dir \
3030
pip \
3131
wheel && \
32-
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.19/ \
32+
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ \
3333
cryptography \
3434
python-ldap=="${LDAP_VERSION}" && \
35+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
3536
echo "**** cleanup ****" && \
3637
apk del --purge \
3738
build-dependencies && \

Jenkinsfile

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

jenkins-vars.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ external_type: pip_version
66
release_type: stable
77
release_tag: latest
88
ls_branch: master
9-
build_armhf: false
109
repo_vars:
1110
- EXT_RELEASE_TYPE = 'pip_version'
1211
- EXT_PIP = 'python-ldap'
@@ -24,6 +23,6 @@ repo_vars:
2423
- CI_PORT='9000'
2524
- CI_SSL='false'
2625
- CI_DELAY='60'
27-
- CI_DOCKERENV='TZ=US/Pacific'
28-
- CI_AUTH='user:password'
26+
- CI_DOCKERENV=''
27+
- CI_AUTH=''
2928
- CI_WEBPATH='/test'

readme-vars.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,10 @@ available_architectures:
1313
- { arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
1414

1515
# container parameters
16-
common_param_env_vars_enabled: false
17-
param_container_name: "{{ project_name }}"
18-
param_usage_include_vols: false
19-
param_volumes: ""
2016
param_usage_include_ports: true
2117
param_ports:
2218
- { external_port: "8888", internal_port: "8888", port_desc: "the port for ldap auth daemon" }
2319
- { external_port: "9000", internal_port: "9000", port_desc: "the port for ldap login page" }
24-
param_usage_include_env: true
25-
param_env_vars:
26-
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London" }
2720

2821
# optional container parameters
2922
opt_param_usage_include_env: true
@@ -42,6 +35,7 @@ app_setup_block: |
4235
4336
# changelog
4437
changelogs:
38+
- { date: "30.06.24:", desc: "Rebase to Alpine 3.20."}
4539
- { date: "23.12.23:", desc: "Rebase to Alpine 3.19."}
4640
- { date: "20.06.23:", desc: "Sync upstream changes, including the ability to disable referrals with `X-Ldap-DisableReferrals`." }
4741
- { date: "25.05.23:", desc: "Rebase to Alpine 3.18, deprecate armhf." }

root/etc/s6-overlay/s6-rc.d/init-ldap-config/run

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

44
# generate fernet key for ldap if it doesn't exist
55
if grep -q 'REPLACEWITHFERNETKEY' /app/ldap-backend-app.py; then
6-
if [ -z "${FERNETKEY}" ]; then
6+
if [[ -z "${FERNETKEY}" ]]; then
77
KEY=$(python3 /app/fernet-key.py)
88
echo "generated fernet key"
99
elif ! python3 -c "from cryptography.fernet import Fernet; Fernet(b'${FERNETKEY}').encrypt(b'my deep dark secret')" 2>/dev/null; then

0 commit comments

Comments
 (0)