-
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
Improve make docker-image #493
Conversation
Makefile
Outdated
@@ -29,7 +30,7 @@ e2e: | |||
# Note: Pre-integration test phase is necessary to produce styx.properties file | |||
# needed by AdminSpec.scala tests. | |||
e2e-compile: | |||
mvn clean pre-integration-test -P$(PLATFORM) | |||
mvn clean pre-in tegration-test -P$(PLATFORM) |
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.
Is this space intentional?
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.
No.
@@ -155,12 +154,9 @@ changelog: | |||
# Assuming that styxconf.yml exists in "./docker-config/" directory. | |||
# Default configuration file: /styx/default-config/default.yml | |||
# | |||
distribution/target/styx-1.0-SNAPSHOT-linux-x86_64.zip: | |||
docker-image: clean |
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.
I seems acceptable that we always have to clean and build to compile the docker image... But we could at least document how to build the docker-image without using the Makefile.
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.
IMO the makefile itself can work as a documentation.
Ensures that
make docker-image
:I have tested this on Mac OSX and CentOS Docker image.