From 4630973a0e4467e3e2825bc6b4a36fa7b9fd9db4 Mon Sep 17 00:00:00 2001 From: Manuel Sampedro Date: Tue, 26 May 2026 12:19:10 +0200 Subject: [PATCH] Fix bgld Docker entrypoint command --- Dockerfile | 2 +- docker-entrypoint.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5b1bdc8..4736b7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apt update \ && apt install -y --no-install-recommends \ libatomic1 \ wget \ - ca-certificates \ + ca-certificates \ apt-transport-https RUN cd /tmp/ \ diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 72785b8..390ec43 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -8,11 +8,10 @@ if [ "${1#-}" != "$1" ] || [ "${1%.conf}" != "$1" ]; then fi # Allow the container to be started with `--user`, if running as root drop privileges -if [ "$1" = 'btc_oneshot' -a "$(id -u)" = '0' ]; then +if [ "$1" = 'bgl_oneshot' -a "$(id -u)" = '0' ]; then chown -R BGL . exec gosu BGL "$0" "$@" fi # If not root (i.e. docker run --user $USER ...), then run as invoked exec "$@" -