-
Notifications
You must be signed in to change notification settings - Fork 4
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
Build zbchaos docker image #192
Conversation
259f4ec
to
30f4857
Compare
30f4857
to
5b8e0b5
Compare
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.
Mega 🚀
COPY --link go.mod go.sum . | ||
RUN go mod download | ||
|
||
COPY --link cmd/ ./cmd |
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.
TIL: --link creates a symlink? Wasnt aware of this feature 👍
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.
Not exactly but it allows to copy files independently from previous layers: https://docs.docker.com/engine/reference/builder/#copy---link
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.
Ok this is not what I expected but OK :D
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.
Yeah, I feel like a lot of the more recent docker features are really subtle and not easy to understand 😬
Depends on #191
Builds a docker image
gcr.io/zeebe-io/zbchaos
that runs zbchaos (with the worker command by default).