Skip to content

Implement Dockerization#69

Open
bgyori wants to merge 13 commits into
mainfrom
dockerize
Open

Implement Dockerization#69
bgyori wants to merge 13 commits into
mainfrom
dockerize

Conversation

@bgyori
Copy link
Copy Markdown
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
Copy Markdown
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
Comment thread docker/Dockerfile
@cthoyt cthoyt force-pushed the dockerize branch 2 times, most recently from 8d3f9ca to eb0397b Compare October 14, 2021 10:33
@cthoyt
Copy link
Copy Markdown
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