Commit 88d2ec3a authored by Benjamin Rokseth's avatar Benjamin Rokseth
Browse files

Services: Remove CMD wrapper causing missing env variables

parent 530bafd3
...@@ -2,12 +2,12 @@ FROM java:8 ...@@ -2,12 +2,12 @@ FROM java:8
ADD javarunner.sh /services/ ADD javarunner.sh /services/
ADD ./build/libs/services-1.0-SNAPSHOT-standalone.jar /services/ ADD ./build/libs/services-1.0-SNAPSHOT-standalone.jar /services/
WORKDIR /services WORKDIR /services
CMD ["/services/javarunner.sh", \ CMD /services/javarunner.sh \
"-DKOHA_PORT=\"$KOHA_PORT\"", \ -DKOHA_PORT="$KOHA_PORT" \
"-DKOHA_USER=\"$KOHA_USER\"", \ -DKOHA_USER="$KOHA_USER" \
"-DKOHA_PASSWORD=\"$KOHA_PASSWORD\"", \ -DKOHA_PASSWORD="$KOHA_PASSWORD" \
"-DFUSEKI_PORT=\"$FUSEKI_PORT\"", \ -DFUSEKI_PORT="$FUSEKI_PORT" \
"-DDATA_BASEURI=\"$DATA_BASEURI\"", \ -DDATA_BASEURI="$DATA_BASEURI" \
"-Done-jar.silent=true", \ -Done-jar.silent=true \
"-jar", \ -jar \
"/services/services-1.0-SNAPSHOT-standalone.jar"] /services/services-1.0-SNAPSHOT-standalone.jar
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