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

Adds Dockerfile to build a container #39

Closed
wants to merge 2 commits into from
Closed

Adds Dockerfile to build a container #39

wants to merge 2 commits into from

Conversation

johnbradley
Copy link
Collaborator

Command to build the container for pybioclip:

docker build --platform=linux/amd64 --build-arg="PYBIOCLIP_VERSION=1.0.0" -t pybioclip .

Adds GitHub action config to build the docker container and apptainer container on release.

Command to build the container for pybioclip:
```
docker build --platform=linux/amd64 --build-arg="PYBIOCLIP_VERSION=1.0.0" -t pybioclip .
```

Adds GitHub action config to build the docker container and
apptainer container on release.
@johnbradley
Copy link
Collaborator Author

miniforge3 has a strange warning when used from apptainer: [WARN tini (6)] Tini is not running as PID 1....
I'm going to look for another base container.

These changes also created an apptainer container and push that to ghcr.io.
This caused disk space issues which required a weird hack to free up enough disk space for the GitHubAction to finish.

# Step below from https://github.com/orgs/community/discussions/25678#discussioncomment-5242449
- name: Delete unnecessary tools folder to avoid running out of space
run: rm -rf /opt/hostedtoolcache

This is really nice but it rather confusing when seen in github.
For now I'm going to remove this part as well.

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.

1 participant