Fix gerrit java invocation
We need the right path to java, and we also need to tell it to run daemon. Change-Id: I7dfbc5a1c054953b34a02327e6bba50c486110d1
This commit is contained in:
parent
072fcca06f
commit
940e31f043
@ -46,4 +46,4 @@ ENV JAVA_OPTIONS ""
|
||||
|
||||
# Ulimits should be set on command line or in docker-compose.yaml
|
||||
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
||||
CMD ["/usr/bin/java", ${JAVA_OPTIONS}, "-jar", "/var/gerrit/bin/gerrit.war"]
|
||||
CMD ["/usr/local/openjdk-8/bin/java", ${JAVA_OPTIONS}, "-jar", "/var/gerrit/bin/gerrit.war", "daemon", "-d", "/var/gerrit"]
|
||||
|
Loading…
Reference in New Issue
Block a user