Commit 9c9927dd authored by Matija Obreza's avatar Matija Obreza
Browse files
parent b9b52e9b
......@@ -21,10 +21,15 @@ COPY jetty ${JETTY_BASE}/
COPY ${GENESYS_WAR} ${JETTY_BASE}/webapps/genesys2-server.war
# Directories and permissions
RUN mkdir -p ${GENESYS_DATA} \
RUN set -ex; \
mkdir -p ${GENESYS_DATA} \
&& chown ${USER}.${USER} ${GENESYS_DATA} \
&& chmod go+r ${JETTY_BASE}/webapps/genesys2-server.war \
&& chmod go+rwx ${GENESYS_DATA} \
# sh removes env vars it doesn't support (ones with periods)
# && find /docker-entrypoint.sh -name '*.sh' -exec ls -la {} \; \
&& find /docker-entrypoint.sh -name '*.sh' -exec sed -ri 's|^#!/bin/sh$|#!/usr/bin/env bash|' {} \; \
# && cat /docker-entrypoint.sh \
&& 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