forked from extern/homer
use env for USER instruction
This commit is contained in:
parent
a23914d573
commit
ac1442c640
@ -22,6 +22,6 @@ ENV UID 911
|
||||
RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \
|
||||
apk add -U darkhttpd
|
||||
|
||||
USER darkhttpd
|
||||
USER ${USER}
|
||||
|
||||
ENTRYPOINT ["darkhttpd","/www/", "--no-listing"]
|
@ -31,6 +31,6 @@ RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} &
|
||||
apk add -U darkhttpd && \
|
||||
rm /usr/bin/qemu-arm-static
|
||||
|
||||
USER darkhttpd
|
||||
USER ${USER}
|
||||
|
||||
ENTRYPOINT ["darkhttpd","/www/","--no-listing"]
|
||||
|
@ -31,6 +31,6 @@ RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} &
|
||||
apk add -U darkhttpd && \
|
||||
rm /usr/bin/qemu-aarch64-static
|
||||
|
||||
USER darkhttpd
|
||||
USER ${USER}
|
||||
|
||||
ENTRYPOINT ["darkhttpd","/www/","--no-listing"]
|
||||
|
Loading…
Reference in New Issue
Block a user