Skip to content

Commit c8431a5

Browse files
committed
Use gosu instead of su-exec for Debian compatibility
1 parent 1631303 commit c8431a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ RUN apt-get update \
4242
libssl-dev \
4343
pkg-config \
4444
ca-certificates \
45-
su-exec \
45+
gosu \
4646
&& apt-get clean \
4747
&& rm -rf /var/lib/apt/lists/*
4848

api/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ if [ -d "/radar_data" ]; then
88
fi
99

1010
# Now switch to radar user and run the app
11-
exec su-exec radar /api/app-entrypoint.sh
11+
exec gosu radar /api/app-entrypoint.sh

0 commit comments

Comments
 (0)