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

Improve Styx Dockerfile #381

Merged
merged 2 commits into from
Mar 7, 2019
Merged

Conversation

mikkokar
Copy link
Contributor

@mikkokar mikkokar commented Mar 7, 2019

Generify Dockerfile so that it can be used for building both development images and official Styx release images.

This change also removes the release version number from Styx assembly base directory.
That is the top-level directory in a Styx release zip file. The version number in the base directory is pointless because it is in the release zip file anyway, and it unnecessarily complicates the Dockerfile and possibly other release scripts.

1) development images and 2) official Styx release images.

Remove the release version number from Styx assembly base directory
name. The version number is still present in the release zip file
name.
docker/README.md Outdated
@@ -31,7 +31,8 @@ Ensure the the Styx configuration reads the origins from `/styx/config/` directo

Finally, start the Styx Docker image using `/styx/config/styxconf.yml` as a configuration file:

docker container run -d --name myStyx \
-p 8080:8080 -p 9000:9000 -p 8443:8443
docker container run -d \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe keep the name as in the previous examples and suggest --rm ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed the code as you suggested. Please have a look again.

@mikkokar mikkokar merged commit 065bdc9 into ExpediaGroup:master Mar 7, 2019
@mikkokar mikkokar deleted the docker-image-2 branch March 7, 2019 11:05
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 this pull request may close these issues.

2 participants