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

Add release dockerfile. #2846

Merged
merged 3 commits into from
Oct 16, 2019
Merged

Conversation

anuraaga
Copy link
Contributor

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.


USER zipkin

EXPOSE 9410 9411
Copy link
Member

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

Suggested change
EXPOSE 9410 9411
EXPOSE 9411


# 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
Copy link
Member

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 \
Copy link
Member

Choose a reason for hiding this comment

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

nifty!

Copy link
Member

@codefromthecrypt codefromthecrypt left a 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 :) )

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