Properly cleanup after OpenMapKit docker image build
This commit is contained in:
parent
8ff4cfe525
commit
2b63a7a17d
@ -17,7 +17,8 @@ RUN apk --no-cache add --virtual .deps git build-base paxctl py2-pip \
|
||||
&& adduser -S -u 8007 -h /srv/openmapkit -s /bin/false -g omk -G omk omk \
|
||||
&& apk --no-cache del .deps \
|
||||
&& rm -rf /srv/openmapkit/.git* /srv/openmapkit/api/odk/pyxform/.git* \
|
||||
&& rm -rf /root/* || true
|
||||
&& rm -rf /root \
|
||||
&& mkdir /root
|
||||
|
||||
VOLUME ["/srv/openmapkit/data"]
|
||||
EXPOSE 8007
|
||||
|
Loading…
Reference in New Issue
Block a user