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

Adding initial versions of gtf-smash Docker image #139

Merged
merged 2 commits into from
Nov 27, 2024
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
26 changes: 26 additions & 0 deletions gtf-smash/Dockerfile_latest
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

# Using Python base image
FROM python:3.12-slim

# Adding labels for the GitHub Container Registry
LABEL org.opencontainers.image.title="gtf-smash"
LABEL org.opencontainers.image.description="Container image for the use of the gtf collapser necessary for RNASeQC"
LABEL org.opencontainers.image.version="latest"
LABEL org.opencontainers.image.authors="wilds@fredhutch.org"
LABEL org.opencontainers.image.url=https://hutchdatascience.org/
LABEL org.opencontainers.image.documentation=https://getwilds.org/
LABEL org.opencontainers.image.source=https://github.com/getwilds/wilds-docker-library
LABEL org.opencontainers.image.licenses=MIT

# Installing wget
RUN apt-get update && \
apt-get install -y --no-install-recommends wget=1.21.3-1+b2 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Pulling down collapse_annotation.py script from GitHub
RUN wget https://raw.githubusercontent.com/broadinstitute/gtex-pipeline/refs/tags/gtex_v8/gene_model/collapse_annotation.py

Check failure on line 22 in gtf-smash/Dockerfile_latest

View workflow job for this annotation

GitHub Actions / hadolint

DL3047 info: Avoid use of wget without progress bar. Use `wget --progress=dot:giga <url>`. Or consider using `-q` or `-nv` (shorthands for `--quiet` or `--no-verbose`).

# Installing packages via pip
RUN pip install --no-cache-dir pandas==2.2.3 bx-python==0.13.0

Check failure on line 25 in gtf-smash/Dockerfile_latest

View workflow job for this annotation

GitHub Actions / hadolint

DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.

26 changes: 26 additions & 0 deletions gtf-smash/Dockerfile_v8
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

# Using Python base image
FROM python:3.12-slim

# Adding labels for the GitHub Container Registry
LABEL org.opencontainers.image.title="gtf-smash"
LABEL org.opencontainers.image.description="Container image for the use of the gtf collapser necessary for RNASeQC"
LABEL org.opencontainers.image.version="v8"
LABEL org.opencontainers.image.authors="wilds@fredhutch.org"
LABEL org.opencontainers.image.url=https://hutchdatascience.org/
LABEL org.opencontainers.image.documentation=https://getwilds.org/
LABEL org.opencontainers.image.source=https://github.com/getwilds/wilds-docker-library
LABEL org.opencontainers.image.licenses=MIT

# Installing wget
RUN apt-get update && \
apt-get install -y --no-install-recommends wget=1.21.3-1+b2 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Pulling down collapse_annotation.py script from GitHub
RUN wget https://raw.githubusercontent.com/broadinstitute/gtex-pipeline/refs/tags/gtex_v8/gene_model/collapse_annotation.py

Check failure on line 22 in gtf-smash/Dockerfile_v8

View workflow job for this annotation

GitHub Actions / hadolint

DL3047 info: Avoid use of wget without progress bar. Use `wget --progress=dot:giga <url>`. Or consider using `-q` or `-nv` (shorthands for `--quiet` or `--no-verbose`).

# Installing packages via pip
RUN pip install --no-cache-dir pandas==2.2.3 bx-python==0.13.0

Check failure on line 25 in gtf-smash/Dockerfile_v8

View workflow job for this annotation

GitHub Actions / hadolint

DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.