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 Dockerfile #44

Merged
merged 5 commits into from
Sep 24, 2018
Merged

Add Dockerfile #44

merged 5 commits into from
Sep 24, 2018

Conversation

wslulciuc
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Aug 27, 2018

Codecov Report

Merging #44 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #44   +/-   ##
=========================================
  Coverage     60.75%   60.75%           
  Complexity      159      159           
=========================================
  Files            40       40           
  Lines           795      795           
  Branches         77       77           
=========================================
  Hits            483      483           
  Misses          270      270           
  Partials         42       42

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 25c34cd...9e3488d. Read the comment docs.

@wslulciuc wslulciuc force-pushed the docker branch 2 times, most recently from 64045fc to 52f0599 Compare August 28, 2018 02:50
Dockerfile Outdated
COPY . /usr/src/app
RUN ./gradlew clean build

FROM openjdk:9-jre-slim
Copy link
Collaborator

Choose a reason for hiding this comment

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

base docker image seems to be written twice

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm leveraging multi-stage builds to keep things compact and cache gradle specific scripts, libs, etc.

Dockerfile Outdated
WORKDIR /usr/src/app
COPY --from=build /usr/src/app/build/libs/marquez-all.jar marquez.jar
EXPOSE 5000
ENTRYPOINT ["java", "-jar", "marquez.jar", "server", "$MARQUEZ_CONFG"]
Copy link
Contributor

@ashulmanWeWork ashulmanWeWork Sep 24, 2018

Choose a reason for hiding this comment

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

nit: ${MARQUEZ_CONFIG}, for stylistic consistency.
Also CONFG -> CONFIG?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch! Also, still figuring out what the best approach would be to set config.yml.

@wslulciuc wslulciuc merged commit 3c20b07 into master Sep 24, 2018
@wslulciuc wslulciuc deleted the docker branch September 24, 2018 18:55
@harels harels mentioned this pull request Nov 18, 2018
wslulciuc added a commit that referenced this pull request Nov 14, 2020
* Update status code field in MarquezHttpException

* Simplify MarquezHttp.url()
wslulciuc added a commit that referenced this pull request Dec 11, 2020
Signed-off-by: wslulciuc <willy@datakin.com>
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.

None yet

3 participants