Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions Docker/REAMDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Build images for nextflow

In order to update the nf-core module of vuegen
([modules/nf-core/vuegen](https://github.com/nf-core/modules/tree/master/modules/nf-core/vuegen)) to a new version, the corresponding docker image needs to be build and pushed to quay.io and then a PR with the updates needs to be submitted to nf-core/modules.


## Upload to Quay.io

Update the container:
- This can be done using the [`build-push.sh`](build-push.sh) script
(after [login to quay.io](https://docs.quay.io/guides/login.html) using `docker login quay.io`
and activating multiplatform builds for your docker driver, e.g.
[docker desktop](https://docs.docker.com/desktop/features/containerd/#enable-the-containerd-image-store).)
- by uploading `nextflow.Dockerfile` (start new build) and specifying a new tag on quay.io itself (being logged-in):
[https://quay.io/repository/dtu_biosustain_dsp/vuegen?tab=builds](quay.io/repository/dtu_biosustain_dsp/vuegen?tab=builds) and
[https://quay.io/repository/dtu_biosustain_dsp/vuegen?tab=tags](quay.io/repository/dtu_biosustain_dsp/vuegen?tab=tags)

General docs: [https://docs.quay.io/guides/building.html](docs.quay.io/guides/building.html)


## Update nf-core module

Follow the instructions as if you would create a new module:
[https://nf-co.re/docs/tutorials/nf-core_components/components](nf-co.re/docs/tutorials/nf-core_components/components)

- update `environment.yml` to specify the new version of vuegen on bioconda (this is an automated update)
- update `main.nf` to specify the new version of the container on quay.io (this is a manual update described in the step above)

Then submit a PR to nf-core/modules, e.g.

- [https://github.com/nf-core/modules/pull/9201](nf-core/modules/pull/9201)
4 changes: 2 additions & 2 deletions Docker/build-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -euo pipefail

ORG="quay.io/dtu_biosustain_dsp"
VERSION="v0.5.0"
VERSION="v0.5.1"

# 1. Build & push the base image (nextflow version)
docker buildx build \
Expand All @@ -17,4 +17,4 @@ docker buildx build \
--build-arg BASE_VERSION=${VERSION}-nextflow \
--push \
-t ${ORG}/vuegen:${VERSION}-docker \
-f docker.Dockerfile .
-f docker.Dockerfile .
2 changes: 1 addition & 1 deletion modules/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ channels:
- conda-forge
- bioconda
dependencies:
- bioconda::vuegen=0.3.2
- bioconda::vuegen=0.5.1