-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright (c) 2023 Roberto Rossini ([email protected]) | ||
# SPDX-License-Identifier: MIT | ||
|
||
name: Build wiggletools Dockerfile | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- ".github/workflows/build-wiggletools-dockerfile.yml" | ||
- ".github/workflows/build-dockerfile.yml" | ||
- "containers/wiggletools*.Dockerfile" | ||
pull_request: | ||
branches: [ main ] | ||
paths: | ||
- ".github/workflows/build-wiggletools-dockerfile.yml" | ||
- ".github/workflows/build-dockerfile.yml" | ||
- "containers/wiggletools*.Dockerfile" | ||
|
||
jobs: | ||
build-wiggletools-dockerfile: | ||
name: Build wiggletools Dockerfile | ||
uses: paulsengroup/2022-mcf10a-cancer-progression/.github/workflows/build-dockerfile.yml@main | ||
with: | ||
dockerfile-glob: "containers/wiggletools*.Dockerfile" | ||
|
||
permissions: | ||
contents: read | ||
packages: write |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Copyright (C) 2023 Roberto Rossini <[email protected]> | ||
# | ||
# SPDX-License-Identifier: MIT | ||
|
||
FROM mambaorg/micromamba:1.4.3 AS base | ||
|
||
ARG CONTAINER_VERSION | ||
ARG MAMBA_DOCKERFILE_ACTIVATE=1 | ||
|
||
RUN if [ -z "$CONTAINER_VERSION" ]; then echo "Missing CONTAINER_VERSION --build-arg" && exit 1; fi | ||
|
||
RUN micromamba install -y \ | ||
-c conda-forge \ | ||
-c bioconda \ | ||
procps-ng \ | ||
ucsc-wigtobigwig \ | ||
"wiggletools=${CONTAINER_VERSION}" \ | ||
&& micromamba clean --all -y | ||
|
||
|
||
WORKDIR /data | ||
|
||
ENV PATH="/opt/conda/bin:$PATH" | ||
ENTRYPOINT ["/usr/local/bin/_entrypoint.sh"] | ||
CMD ["/bin/bash"] | ||
WORKDIR /data | ||
|
||
RUN wiggletools --help | ||
RUN whereis wigToBigWig | ||
|
||
LABEL org.opencontainers.image.authors='Roberto Rossini <[email protected]>' | ||
LABEL org.opencontainers.image.url='https://github.com/paulsengroup/2022-mcf10a-cancer-progression' | ||
LABEL org.opencontainers.image.documentation='https://github.com/paulsengroup/2022-mcf10a-cancer-progression' | ||
LABEL org.opencontainers.image.source='https://github.com/paulsengroup/2022-mcf10a-cancer-progression' | ||
LABEL org.opencontainers.image.licenses='MIT' | ||
LABEL org.opencontainers.image.title="${CONTAINER_TITLE:-wiggletools}" | ||
LABEL org.opencontainers.image.version="${CONTAINER_VERSION:-latest}" |