Skip to content

Commit

Permalink
attempt to make run.sh generation work consistently in all environmen…
Browse files Browse the repository at this point in the history
…ts; for #12
  • Loading branch information
kltm committed Nov 1, 2024
1 parent 2172b1a commit f69b38a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docker-vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repo_map:
amigo: master

tag: latest
minerva_tag: v4
minerva_tag: v5

# Ubuntu based image
noctua_tag: v5
Expand Down
11 changes: 1 addition & 10 deletions docker/Dockerfile.minerva
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,7 @@ ENV JAVA_OPTS="-Xmx2G"
ENV GOLR_SEED="http://golr-aux.geneontology.io/solr"
ENV GOLR_LABELS="http://noctua-golr.berkeleybop.org"

RUN echo '#!/bin/bash\n\
set -x\n\
java $JAVA_OPTS -cp /app/minerva-cli.jar org.geneontology.minerva.server.StartUpTool\
--use-golr-url-logging --use-request-logging --arachne -g http://skyhook.berkeleybop.org/go-lego-reacto.owl\
--set-important-relation-parent http://purl.obolibrary.org/obo/LEGOREL_0000000 --port 6800\
--golr-labels $GOLR_LABELS --golr-seed $GOLR_SEED \
--ontojournal $1/blazegraph-go-lego-reacto-neo.jnl\
-f $1/blazegraph.jnl\
--export-folder $1/noctua-models/models\
' > /app/run.sh
RUN echo -e "#!/bin/bash\nset -x\njava $JAVA_OPTS -cp /app/minerva-cli.jar org.geneontology.minerva.server.StartUpTool --use-golr-url-logging --use-request-logging --arachne -g http://skyhook.berkeleybop.org/go-lego-reacto.owl --set-important-relation-parent http://purl.obolibrary.org/obo/LEGOREL_0000000 --port 6800 --golr-labels $GOLR_LABELS --golr-seed $GOLR_SEED --ontojournal $1/blazegraph-go-lego-reacto-neo.jnl -f $1/blazegraph.jnl --export-folder $1/noctua-models/models\n" > /app/run.sh

RUN groupadd -g ${gid} gunicorn \
&& useradd -u ${uid} -g ${gid} -c 'Gunicorn User' --no-create-home gunicorn \
Expand Down

0 comments on commit f69b38a

Please sign in to comment.