mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
isso: replace gosu with su-exec
This commit is contained in:
parent
5df7fad4ba
commit
969343cf65
@ -5,8 +5,7 @@ ARG ISSO_VER=0.10.4
|
|||||||
|
|
||||||
ENV GID=1000 UID=1000
|
ENV GID=1000 UID=1000
|
||||||
|
|
||||||
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
|
||||||
&& echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
|
|
||||||
&& apk -U add \
|
&& apk -U add \
|
||||||
python \
|
python \
|
||||||
python-dev \
|
python-dev \
|
||||||
@ -16,7 +15,7 @@ RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/re
|
|||||||
sqlite \
|
sqlite \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
build-base \
|
build-base \
|
||||||
gosu@testing \
|
su-exec \
|
||||||
tini@commuedge \
|
tini@commuedge \
|
||||||
&& pip install --no-cache cffi \
|
&& pip install --no-cache cffi \
|
||||||
&& pip install --no-cache misaka==1.0.2 \
|
&& pip install --no-cache misaka==1.0.2 \
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
chown -R $UID:$GID /db /config
|
chown -R $UID:$GID /db /config
|
||||||
gosu $UID:$GID isso -c /config/isso.conf run
|
su-exec $UID:$GID isso -c /config/isso.conf run
|
||||||
|
Loading…
x
Reference in New Issue
Block a user