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

Implement Dockerization #69

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

Implement Dockerization #69

wants to merge 13 commits into from

Conversation

bgyori
Copy link
Contributor

@bgyori bgyori commented Oct 14, 2021

This PR implements a dockerization for Biomappings. This allows users to perform curations for Biomappings without having to have a Python environment and Biomappings installed on the host machine. In the default scenario, the user merely needs to provide a GITHUBUSER environment variable to the one-line docker run command to ensure that curations are pushed to an appropriate fork to which the user has write access.

@cthoyt could you test this and see if it works for you as well? I also think we should have more flexible ways to set an ORCID to apply to curations, and tie that into this approach (e.g., allow the user to specify it as a -e argument for docker run).

@bgyori
Copy link
Contributor Author

bgyori commented Oct 14, 2021

If testing from this branch (before it's merged), the Dockerfile needs to be modified to replace

git clone https://github.com/biopragmatics/biomappings.git

with

git clone --branch dockerize https://github.com/biopragmatics/biomappings.git

@bgyori bgyori requested a review from cthoyt October 14, 2021 01:24
@cthoyt cthoyt force-pushed the dockerize branch 2 times, most recently from 8d3f9ca to eb0397b Compare October 14, 2021 10:33
@cthoyt
Copy link
Member

cthoyt commented Oct 26, 2021

In case anybody is looking at this later, I tried to pilot this myself and ran into all sorts of issues with permissions making it difficult for git inside docker to use the credentials from my host file system... we're putting this one on hold for the time being, since getting this working might be more complicated than the current setup with python

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.

2 participants