Skip to content

Commit 6e05bae

Browse files
committed
test
1 parent 386d9af commit 6e05bae

3 files changed

Lines changed: 7 additions & 9 deletions

File tree

Containerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ LABEL \
1515
org.opencontainers.image.source="https://github.com/nfrastack/container-element.git" \
1616
org.opencontainers.image.authors="Nfrastack <code@nfrastack.com>" \
1717
org.opencontainers.image.vendor="Nfrastack <https://www.nfrastack.com>" \
18-
org.opencontainers.image.licenses="MIT" \
19-
org.opencontainers.image.ref.name="${BUILD_REF}"
18+
org.opencontainers.image.licenses="MIT"
2019

2120
ARG \
22-
BUILD_REF="local" \
2321
ELEMENT_VERSION="v1.12.24" \
2422
ELEMENT_REPO_URL="https://github.com/element-hq/element-web" \
2523
BUILD_DATE="2026-07-24"

rootfs/container/functions/20-element

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ element_generate_configuration() {
7171
"url": "https://call.element.io",
7272
"participant_limit": 8,
7373
"brand": "Element Call",
74-
"exclusive": false,
74+
"exclusive": false
7575
},
7676

77-
logout_redirect_url: null,
77+
"logout_redirect_url": null,
7878
"sso_redirect_options": {
7979
"immediate": false,
80-
"on_welcome_page": true,
80+
"on_welcome_page": true
8181
},
8282

8383
"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx"

rootfs/container/init/init.d/20-element

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ generate_domain_config() {
3333
print_debug "Generating config for ${hv}"
3434

3535
if [ ! -f "$base" ]; then
36-
write_file "${NGINX_USER}:${NGINX_GROUP}@${base}:644" <<EOF
37-
{}
38-
EOF
36+
echo '{}' > "$base"
37+
chown "${NGINX_USER}:${NGINX_GROUP}" "$base"
38+
chmod 644 "$base"
3939
fi
4040
cp "$base" "$cf"
4141

0 commit comments

Comments
 (0)