File tree Expand file tree Collapse file tree 6 files changed +12
-17
lines changed
root/etc/s6-overlay/s6-rc.d/init-ldap-config Expand file tree Collapse file tree 6 files changed +12
-17
lines changed Original file line number Diff line number Diff line change 1
1
# syntax=docker/dockerfile:1
2
2
3
- FROM ghcr.io/linuxserver/baseimage-alpine:3.19
3
+ FROM ghcr.io/linuxserver/baseimage-alpine:3.20
4
4
5
5
# set version label
6
6
ARG BUILD_DATE
29
29
pip install -U --no-cache-dir \
30
30
pip \
31
31
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 / \
33
33
cryptography \
34
34
python-ldap=="${LDAP_VERSION}" && \
35
+ printf "Linuxserver.io version: ${VERSION}\n Build-date: ${BUILD_DATE}" > /build_version && \
35
36
echo "**** cleanup ****" && \
36
37
apk del --purge \
37
38
build-dependencies && \
Original file line number Diff line number Diff line change 1
1
# syntax=docker/dockerfile:1
2
2
3
- FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.19
3
+ FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.20
4
4
5
5
# set version label
6
6
ARG BUILD_DATE
29
29
pip install -U --no-cache-dir \
30
30
pip \
31
31
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 / \
33
33
cryptography \
34
34
python-ldap=="${LDAP_VERSION}" && \
35
+ printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
35
36
echo "**** cleanup ****" && \
36
37
apk del --purge \
37
38
build-dependencies && \
Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ pipeline {
33
33
CI_PORT = ' 9000'
34
34
CI_SSL = ' false'
35
35
CI_DELAY = ' 60'
36
- CI_DOCKERENV = ' TZ=US/Pacific '
37
- CI_AUTH = ' user:password '
36
+ CI_DOCKERENV = ' '
37
+ CI_AUTH = ' '
38
38
CI_WEBPATH = ' /test'
39
39
}
40
40
stages {
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ external_type: pip_version
6
6
release_type : stable
7
7
release_tag : latest
8
8
ls_branch : master
9
- build_armhf : false
10
9
repo_vars :
11
10
- EXT_RELEASE_TYPE = 'pip_version'
12
11
- EXT_PIP = 'python-ldap'
@@ -24,6 +23,6 @@ repo_vars:
24
23
- CI_PORT='9000'
25
24
- CI_SSL='false'
26
25
- CI_DELAY='60'
27
- - CI_DOCKERENV='TZ=US/Pacific '
28
- - CI_AUTH='user:password '
26
+ - CI_DOCKERENV=''
27
+ - CI_AUTH=''
29
28
- CI_WEBPATH='/test'
Original file line number Diff line number Diff line change @@ -13,17 +13,10 @@ available_architectures:
13
13
- { arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
14
14
15
15
# container parameters
16
- common_param_env_vars_enabled : false
17
- param_container_name : " {{ project_name }}"
18
- param_usage_include_vols : false
19
- param_volumes : " "
20
16
param_usage_include_ports : true
21
17
param_ports :
22
18
- { external_port: "8888", internal_port: "8888", port_desc: "the port for ldap auth daemon" }
23
19
- { 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" }
27
20
28
21
# optional container parameters
29
22
opt_param_usage_include_env : true
@@ -42,6 +35,7 @@ app_setup_block: |
42
35
43
36
# changelog
44
37
changelogs :
38
+ - { date: "30.06.24:", desc: "Rebase to Alpine 3.20."}
45
39
- { date: "23.12.23:", desc: "Rebase to Alpine 3.19."}
46
40
- { date: "20.06.23:", desc: "Sync upstream changes, including the ability to disable referrals with `X-Ldap-DisableReferrals`." }
47
41
- { date: "25.05.23:", desc: "Rebase to Alpine 3.18, deprecate armhf." }
Original file line number Diff line number Diff line change 3
3
4
4
# generate fernet key for ldap if it doesn't exist
5
5
if grep -q 'REPLACEWITHFERNETKEY' /app/ldap-backend-app.py; then
6
- if [ -z "${FERNETKEY}" ]; then
6
+ if [[ -z "${FERNETKEY}" ] ]; then
7
7
KEY=$(python3 /app/fernet-key.py)
8
8
echo "generated fernet key"
9
9
elif ! python3 -c "from cryptography.fernet import Fernet; Fernet(b'${FERNETKEY}').encrypt(b'my deep dark secret')" 2>/dev/null; then
You can’t perform that action at this time.
0 commit comments