Commit 3ce4a7a9 authored by LAVENIER's avatar LAVENIER
Browse files

[fix] CI: fix yaml

parent 1225338d
......@@ -287,7 +287,8 @@ docker:develop:
IMAGE_TAG: develop
only:
- develop
when: manual
# TODO: uncomment
#when: manual
docker:release:
extends: .docker-build
......
......@@ -2,8 +2,8 @@ FROM openjdk:8-jdk
ARG WAR_FILE=app.war
ARG CONFIG_FILES=config/*.properties
RUN apt update && apt -y install libsodium-dev
RUN addgroup -S spring && adduser -S spring -G spring
USER spring:spring
#RUN addgroup -S spring && adduser -S spring -G spring
#USER spring:spring
WORKDIR /app
COPY app.sh app.sh
RUN chmod +x app.sh
......
#!/bin/bash
BASEDIR=/app
SCRIPT_DIR=$(dirname $0)
BASEDIR=$(cd "${SCRIPT_DIR}" && pwd -P)
JAVA_OPTS="-Dsumaris.basedir=${BASEDIR}"
JAVA_OPTS="$JAVA_OPTS -Dspring.config.location=${BASEDIR}/config/"
JAVA_OPTS="$JAVA_OPTS -Doracle.net.tns_admin=/home/tnsnames"
......
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