generated from OpenOmics/baseline
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: adding umap to latest docker image
- Loading branch information
1 parent
f679f7c
commit 57b49a9
Showing
3 changed files
with
70 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 @@ | ||
v0.5.0 |
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,34 @@ | ||
# Dockerfile for cfChIP Toolkit | ||
# https://www.nature.com/articles/s41587-020-00775-6 | ||
# Uses Ubuntu Focal (20.04 LTS) as base image | ||
# https://github.com/OpenOmics/chrom-seek/commit/48c3903261fe1c5979b2f6b62beb03cbd62c7468 | ||
FROM skchronicles/cfchip_toolkit:v0.4.0 | ||
LABEL maintainer="Skyler Kuhn <kuhnsa@nih.gov>" \ | ||
base_image="skchronicles/cfchip_toolkit:v0.3.0" \ | ||
version="v0.5.0" \ | ||
software="chrom-seek_cfchip_toolkit" \ | ||
about.summary="An awesome set of Epigenetic Pipeline" \ | ||
about.home="https://github.com/OpenOmics/chrom-seek" \ | ||
about.documentation="https://openomics.github.io/chrom-seek/" \ | ||
about.tags="cell-free ChIP-seq" | ||
|
||
############# OVERVIEW ################## | ||
# Adds the following packages: | ||
# • R/4.X | ||
# - umap (CRAN) | ||
|
||
|
||
############### INSTALL ################# | ||
# Extra packages for differential bind | ||
# analysis in the cfChIP pipeline | ||
WORKDIR /opt2 | ||
RUN Rscript -e 'install.packages(c("umap"), repos="http://cran.r-project.org")' | ||
|
||
|
||
################ POST ################### | ||
# Add Dockerfile and export env variables | ||
RUN mv /opt2/Dockerfile /opt2/cfchip_toolkit-v0.5.0.dockerfile | ||
ADD Dockerfile /opt2/Dockerfile | ||
RUN chmod -R a+rX /opt2 | ||
ENV PATH="/opt2:$PATH" | ||
WORKDIR /data2 |
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,35 @@ | ||
## Steps for Building Docker Images | ||
|
||
Directly below are instructions for building a base image for the `cfchip_toolkit` using the provided Dockerfile: | ||
|
||
```bash | ||
# See listing of images on computer | ||
docker image ls | ||
|
||
# Build from Dockerfile | ||
docker build --no-cache -f Dockerfile --tag=cfchip_toolkit:v0.5.0 . | ||
|
||
# Testing, take a peek inside | ||
docker run -ti cfchip_toolkit:v0.5.0 /bin/bash | ||
|
||
# Updating Tag before pushing to DockerHub | ||
docker tag cfchip_toolkit:v0.5.0 skchronicles/cfchip_toolkit:v0.5.0 | ||
docker tag cfchip_toolkit:v0.5.0 skchronicles/cfchip_toolkit # latest | ||
|
||
# Check out new tag(s) | ||
docker image ls | ||
|
||
# Push new tagged image to DockerHub | ||
docker push skchronicles/cfchip_toolkit:v0.5.0 | ||
docker push skchronicles/cfchip_toolkit:latest | ||
``` | ||
|
||
### Other Recommended Steps | ||
|
||
Scan your image for known vulnerabilities: | ||
|
||
```bash | ||
docker scan cfchip_toolkit:v0.5.0 | ||
``` | ||
|
||
> **Please Note**: Any references to `skchronicles` should be replaced your username if you would also like to push the image to a non-org account. |