Skip to content

Modernize dependencies and Dockerfile, fix compat with modern borgmatic - #48

Open
jinnatar wants to merge 3 commits into
danihodovic:masterfrom
jinnatar:modernize
Open

Modernize dependencies and Dockerfile, fix compat with modern borgmatic#48
jinnatar wants to merge 3 commits into
danihodovic:masterfrom
jinnatar:modernize

Conversation

@jinnatar

@jinnatar jinnatar commented Oct 9, 2022

Copy link
Copy Markdown

Allows building on newer Python versions and with newer versions of dependencies, works with modern borgmatic cli structure, layer Docker image on top of b3vis/borgmatic:latest to enable functional images for running the tool in a Dockerized environment.

Comment thread Dockerfile.pyinstaller

COPY . /app/

RUN eval "$(pyenv init -)" && pyinstaller pyinstaller.spec

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Why was this removed? I used this Dockerfile to build a pyinstaller binary and copy it from the container.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I'd recommend using for example GitHub actions instead for the build process since that can create repeatable builds directly into a GitHub release. If you prefer, I can revert the deletion of the extra Dockerfile.pyinstaller.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Do you have sample code or can you open a PR for GH actions that generate the binary?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Maybe just revert the Dockerfile change and merge? It'd be great to have the borgmatic cli compatibility fix.

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