-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Add release dockerfile. #2846
Add release dockerfile. #2846
Conversation
docker/Dockerfile.release
Outdated
|
||
USER zipkin | ||
|
||
EXPOSE 9410 9411 |
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 think we actually removed thrift from slim
EXPOSE 9410 9411 | |
EXPOSE 9411 |
docker/Dockerfile.release
Outdated
|
||
# Use to set heap, trust store or other system properties. | ||
ENV JAVA_OPTS -Djava.security.egd=file:/dev/./urandom | ||
# 3rd party modules like zipkin-aws will apply profile settings with this |
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 this as slim doesn't support it. I know I forgot to remove it upstream :P
# not work right away if the sync is taking time, followed by bintray, which should always work | ||
# since it's where we publish to. | ||
|
||
RUN mvn org.apache.maven.plugins:maven-dependency-plugin:get \ |
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.
nifty!
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.
looks good (to the degree I understand :) )
Since we want our release images to use the same artifacts as published to Maven, we need to have a separate
Dockerfile
for it from the master build. Luckily it's content isn't all that different.I'll reconfigure Docker Hub to use this dockerfile for tag pushes. Then we should be ready to finish the migration.