-
Notifications
You must be signed in to change notification settings - Fork 53
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
feat: use local source for installing bonfire #427
feat: use local source for installing bonfire #427
Conversation
923c0d2
to
5bfeeb4
Compare
Dockerfile
Outdated
USER bonfire | ||
WORKDIR /opt/bonfire | ||
ENV PATH="/opt/bonfire/.local/bin:$PATH" | ||
COPY --chown=1001:0 . . |
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.
This could potentially copy in the hidden .
files right? Do you need to copy explicit paths here?
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 actually due to how we handle versions, I do - bonfire runs this scm dynamic versioning, I need the git repo metadata to get the right version
I was thinking building the wheel and installing that instead - but there's not much of a difference anyways
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.
that said, I still think a .dockerignore
could really help keeping a bunch of not really needed files out, so I'll push that, thanks!
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 added a multi-stage build to build a wheel and then copy and install that alone, please can you give it a second look?
Other than what Brandon pointed out this LGTM |
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!
No description provided.