Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CMD syntax in CI Dockerfile #117

Closed
fitztrev opened this issue Sep 7, 2024 · 0 comments · Fixed by #127
Closed

Update CMD syntax in CI Dockerfile #117

fitztrev opened this issue Sep 7, 2024 · 0 comments · Fixed by #127

Comments

@fitztrev
Copy link
Member

fitztrev commented Sep 7, 2024

Get this warning during build:

JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 67)

See https://docs.docker.com/reference/build-checks/json-args-recommended/

CMD mongod --fork --logpath /var/log/mongodb/mongod.log --dbpath /seeded \
&& redis-server --daemonize yes \
&& wait-for localhost:27017 --timeout=15 \
&& wait-for localhost:6379 --timeout=15 \
&& /lila-ws/target/universal/stage/bin/lila-ws \
& wait-for localhost:9664 --timeout=15 \
&& JAVA_OPTS="-Xms4g -Xmx4g" ./target/universal/stage/bin/lila -Dconfig.file="/lila/conf/application.conf" -Dlogger.file="/lila/conf/logger.dev.xml"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant