Commit 4d729385 authored by Matija Obreza's avatar Matija Obreza
Browse files

Merge branch '122-sandbox-down' into 'master'

Resolve "sandbox down"

Closes #122

See merge request !41
parents 18fc411e 8c8612d4
#
# Build Genesys server on top of jetty-alpine
#
FROM jetty:9.4-alpine
FROM jetty:9.4.5
LABEL maintainer "Matija Obreza <matija.obreza@croptrust.org>"
......@@ -15,14 +15,14 @@ WORKDIR ${JETTY_BASE}
# Update jetty configuration
COPY jetty ${JETTY_BASE}/
RUN mkdir -p ${GENESYS_DATA} \
&& chown ${USER}.${USER} ${GENESYS_DATA}
# Add war file to the setup
COPY ${GENESYS_WAR} ${JETTY_BASE}/webapps/genesys2-server.war
# List image contents
RUN chmod go+r ${JETTY_BASE}/webapps/genesys2-server.war \
# Directories and permissions
RUN mkdir -p ${GENESYS_DATA} \
&& chown ${USER}.${USER} ${GENESYS_DATA} \
&& chmod go+r ${JETTY_BASE}/webapps/genesys2-server.war \
&& chmod go+rwx ${GENESYS_DATA} \
&& find ${JETTY_BASE} -type f -exec ls -la {} \;
# Exposed data volumes
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment