Commit 08da60ae authored by Robert Butora's avatar Robert Butora
Browse files

docker: adds note on acces problem for /srv/cutouts

parent a743f23a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ COPY deps/ast_9.2.9-1_amd64.deb ./
RUN dpkg -i /root/ast_9.2.9-1_amd64.deb && ldconfig \
 && mkdir -p ${WEBAPP_DIR} \
 && mkdir -p /srv/datasets \
 && mkdir --mode 777 /srv/cutouts \
 && mkdir -p /srv/cutouts \
 && mkdir -p /etc/pki/tls

ARG VLKB_VERSION
@@ -65,6 +65,8 @@ RUN chmod -R a+rwX ${WEBAPP_DIR}/WEB-INF \
 && touch  ${WEBAPP_DIR}/WEB-INF/classes/iamtoken.properties \
 && chmod a+rw ${WEBAPP_DIR}/WEB-INF/classes/*.properties

# FIXME must use 1002: regardless how /srv/cutouts is created
# in container it is owned by user 1002:1002 with rwxr-xr-x
RUN groupadd --gid 1002 admin \
 && useradd --uid 1002 --gid admin --shell /bin/bash --create-home --no-log-init admin