Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Additional file to .dockerignore. #1302

Merged
merged 1 commit into from
Nov 8, 2019

Conversation

scrosby
Copy link
Member

@scrosby scrosby commented Nov 8, 2019

Changes proposed in this PR

  • Ignore a jar when building docker images.

Why are we making these changes?

The cook jar is built within the docker image, so there's no need to copy
the for-local-invocation cook jar into the docker image. It just bloats it.

The cook jar is built within the docker image, so there's no need to copy
the for-local-invocation cook jar into the docker image. It just bloats it.
shamsimam
shamsimam previously approved these changes Nov 8, 2019
Copy link
Contributor

@shamsimam shamsimam left a comment

Choose a reason for hiding this comment

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

Doesn't datomic need the jar in its path for the various custom transaction functions?

@shamsimam shamsimam dismissed their stale review November 8, 2019 15:39

Added a comment

@scrosby
Copy link
Member Author

scrosby commented Nov 8, 2019

Yes. However, that file is created when we uberjar in the Dockerfile, and is copied into place afterwards. https://github.com/twosigma/Cook/blob/master/scheduler/Dockerfile#L49

@shamsimam
Copy link
Contributor

Awaiting green build and appropriate label.

@shamsimam shamsimam merged commit bb32257 into twosigma:master Nov 8, 2019
@scrosby scrosby deleted the outgoing/docker-improvements-2 branch November 8, 2019 19:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants