Skip to content

Commit

Permalink
completed docker changes for jdk 17 #2390
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrthomas committed Sep 22, 2023
1 parent 03cd29a commit b95796c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion karate-docker/karate-chrome/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ if [ -z "$KARATE_SOCAT_START" ]
fi
[ -z "$KARATE_WIDTH" ] && export KARATE_WIDTH="1280"
[ -z "$KARATE_HEIGHT" ] && export KARATE_HEIGHT="720"
exec /usr/bin/supervisord
exec /usr/bin/supervisord -c /etc/supervisord.conf
7 changes: 6 additions & 1 deletion karate-docker/karate-chrome/supervisord.conf
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
[supervisord]
user=root
nodaemon=true

[unix_http_server]
file=/tmp/supervisor.sock
username=dummy
password=dummy

[rpcinterface:supervisor]
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface

[supervisorctl]
serverurl=unix:///tmp/supervisor.sock
username=dummy
password=dummy

[program:xvfb]
command=/usr/bin/Xvfb :1 -screen 0 %(ENV_KARATE_WIDTH)sx%(ENV_KARATE_HEIGHT)sx24 +extension RANDR
Expand Down Expand Up @@ -62,7 +67,7 @@ autostart=%(ENV_KARATE_SOCAT_START)s
priority=600

[program:karate]
command=%(ENV_JAVA_HOME)s/bin/java -jar karate.jar %(ENV_KARATE_OPTIONS)s
command=/usr/bin/java -jar karate.jar %(ENV_KARATE_OPTIONS)s
autorestart=false
autostart=%(ENV_KARATE_START)s
stdout_logfile=/dev/stdout
Expand Down

0 comments on commit b95796c

Please sign in to comment.