Commit a743f23a authored by Robert Butora's avatar Robert Butora
Browse files

docker: allows write on /srv/cutouts

parent 9e1512c1
Loading
Loading
Loading
Loading
+3 −3
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 -p /srv/cutouts \
 && mkdir --mode 777 /srv/cutouts \
 && mkdir -p /etc/pki/tls

ARG VLKB_VERSION
@@ -65,8 +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

RUN groupadd --gid 1000 admin \
 && useradd --uid 1000 --gid admin --shell /bin/bash --create-home --no-log-init admin
RUN groupadd --gid 1002 admin \
 && useradd --uid 1002 --gid admin --shell /bin/bash --create-home --no-log-init admin

COPY start-soda.sh /home/admin/start-soda.sh
RUN chown admin:admin /home/admin/start-soda.sh
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ deps/ast-9.2.9.tar.gz:

.PHONY: build-soda
build-soda:
	docker build --build-arg VLKB_VERSION=$(VERSION) -t soda -f Dockerfile.soda .
	docker build --progress=plain --no-cache --build-arg VLKB_VERSION=$(VERSION) -t soda -f Dockerfile.soda .

.PHONY: build-ingestion
build-ingestion: