-
Notifications
You must be signed in to change notification settings - Fork 79
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
Create a docker image from an official Styx release. #366
Conversation
&& mv ${BASENAME} styx \ | ||
&& rm styx.zip | ||
|
||
EXPOSE 8080 8443 9000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a future enhancement, we might want to expose the JMX port as well (it's not exposed in the init script).
@@ -0,0 +1,12 @@ | |||
# See origins/origins-default.yaml for explanation of config format | |||
--- | |||
- id: "app" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are missing some instructions on how to use and configure the Docker image.
docker/styx-env.sh
Outdated
# Set Netty leak detection level | ||
# JAVA_OPTS="$JAVA_OPTS -Dio.netty.leakDetectionLevel=advanced" | ||
|
||
# Enable remote debugging |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove commented out config which doesn't need to be documented.
…ory. Add information about building and using the Styx Docker image.
…ublic-docker-image
This PR adds a "public" docker image built from an official Styx release. We could add this to a hub.docker.com. Going forward the docker build should be automated as a part of release process. Also there is a separate docker file for the development version. But hey, this is the first step!
Also need to think if a separate repository is better for the public docker file.
Build instructions:
$ cd docker
$ docker build -t styx .