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

feat: use local source for installing bonfire #427

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Victoremepunto
Copy link
Collaborator

No description provided.

Dockerfile Outdated
USER bonfire
WORKDIR /opt/bonfire
ENV PATH="/opt/bonfire/.local/bin:$PATH"
COPY --chown=1001:0 . .
Copy link
Collaborator

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?

Copy link
Collaborator Author

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

Copy link
Collaborator Author

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!

Copy link
Collaborator Author

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?

@adamrdrew
Copy link
Collaborator

Other than what Brandon pointed out this LGTM

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.

3 participants