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

Update docker container names for push to nciccbr #5

Merged
merged 6 commits into from
Sep 7, 2023
Merged
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
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
---
name: Pull Request
about: Create a Pull Request
title: ''
labels: ''
assignees: ''
---

## Changes

<!--
Provide a summary of what is included in this Pull Request (PR).
-->

## Issues

<!--
Reference any issues related to this PR.
If this PR fixes any issues, [use a keyword](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword)
when referring to the issue.
-->

<!--
**Reviewers**: Use the @ feature to mention anyone responsible for reviewing/completing this request.
-->

## Checklist
## PR Checklist

(~Strikethrough~ any points that are not applicable.)

- [ ] Write unit tests for any new features or bug fixes.
- [ ] This comment contains a description of changes with justifications, with any relevant issues linked.
- ~[ ] Write unit tests for any new features, bug fixes, or other code changes.~ _testing framework not yet implemented_
- [ ] Update docs if there are any API changes.
- [ ] Update the changelog with a one-line description of these changes and reference the PR number.
- [ ] If a new nextflow process is implemented:
- [ ] docker container is set in `conf/modules.config`.
- [ ] stub is defined.
- [ ] Update `CHANGELOG.md` with a one-line description of these changes and reference the PR number. Guidelines: https://keepachangelog.com/en/1.1.0/
9 changes: 6 additions & 3 deletions docker/bagel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@ ENV BUILD_TAG=${BUILD_TAG}
ARG REPONAME="000000"
ENV REPONAME=${REPONAME}

# specific tagged version for bagel
ENV BAGEL_TAG="2.0-115"

# download bagel scripts and install dependencies
RUN python3 -m pip install --upgrade pip
RUN pip3 install click numpy scipy scikit-learn
ADD https://github.com/hart-lab/bagel/archive/refs/tags/v2.0-115.tar.gz /opt2
ADD https://github.com/hart-lab/bagel/archive/refs/tags/v${BAGEL_TAG}.tar.gz /opt2
WORKDIR /opt2
RUN tar -xzvf v2.0-115.tar.gz && rm -f v2.0-115.tar.gz
ENV PATH="${PATH}:/opt2/bagel-2.0-115"
RUN tar -xzvf v${BAGEL_TAG}.tar.gz && rm -f v${BAGEL_TAG}.tar.gz
ENV PATH="${PATH}:/opt2/bagel-${BAGEL_TAG}"

# cleanup etc
# Save Dockerfile in the docker
Expand Down
6 changes: 5 additions & 1 deletion docker/bagel/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Container for bagel processes in CRUISE
# bagel

Container for bagel processes in CRUISE

<https://hub.docker.com/r/nciccbr/cruise_bagel_2.0>
6 changes: 3 additions & 3 deletions docker/bagel/meta.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dockerhub_namespace: kellysovacool
image_name: bagel
version: test
dockerhub_namespace: nciccbr
image_name: cruise_bagel_2.0
version: 0.1.0
container: "$(dockerhub_namespace)/$(image_name):$(version)"
12 changes: 8 additions & 4 deletions docker/drugz/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,18 @@ ENV BUILD_TAG=${BUILD_TAG}
ARG REPONAME="000000"
ENV REPONAME=${REPONAME}

# specific commit to download from github because drugZ doesn't use tags/versions/releases
ENV DRUGZ_COMMIT="eb15d34e4dd172965e618d5bb662c053066da799"

# download drugz script and install dependencies
RUN python3 -m pip install --upgrade pip
RUN pip3 install six numpy pandas scipy argparse
ADD https://github.com/hart-lab/drugz/archive/refs/heads/master.zip /opt2
ADD https://github.com/hart-lab/drugz/archive/${DRUGZ_COMMIT}.zip /opt2
WORKDIR /opt2
RUN ls
RUN unzip master.zip && rm -f master.zip
ENV PATH="${PATH}:/opt2/drugz-master"
RUN unzip ${DRUGZ_COMMIT}.zip && rm -f ${DRUGZ_COMMIT}.zip
RUN mv drugz-${DRUGZ_COMMIT}/ drugZ/
RUN chmod a+rx /opt2/drugZ/drugz.py
ENV PATH="${PATH}:/opt2/drugZ"

# cleanup etc
# Save Dockerfile in the docker
Expand Down
6 changes: 4 additions & 2 deletions docker/drugz/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# drugz
# drugZ

Container for drugz processes in CRUISE
Container for drugZ processes in CRUISE

<https://hub.docker.com/r/nciccbr/cruise_drugz>
6 changes: 3 additions & 3 deletions docker/drugz/meta.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dockerhub_namespace: kellysovacool
image_name: drugz
version: test
dockerhub_namespace: nciccbr
image_name: cruise_drugz
version: 0.1.0
container: "$(dockerhub_namespace)/$(image_name):$(version)"