File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,9 +5,10 @@ ARG LIBRENMS_VERSION="26.3.1"
55ARG ALPINE_VERSION="3.22"
66ARG SYSLOGNG_VERSION="4.8.3-r1"
77
8- FROM crazymax/yasu:latest AS yasu
8+ FROM tianon/gosu:latest AS gosu
9+
910FROM crazymax/alpine-s6:${ALPINE_VERSION}-2.2.0.3
10- COPY --from=yasu / /
11+ COPY --from=gosu /gosu /usr/local/bin /
1112RUN apk --update --no-cache add \
1213 busybox-extras \
1314 acl \
Original file line number Diff line number Diff line change 33if [ " $( id -u -n) " = " librenms" -a " $( id -g -n) " = " librenms" ]; then
44 php -f /opt/librenms/lnms " $@ "
55else
6- yasu librenms:librenms php -f /opt/librenms/lnms " $@ "
6+ gosu librenms:librenms php -f /opt/librenms/lnms " $@ "
77fi
Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
22
33cd /opt/librenms || exit 1
4- yasu librenms:librenms php artisan " $@ "
4+ gosu librenms:librenms php artisan " $@ "
You can’t perform that action at this time.
0 commit comments