Skip to content

Commit

Permalink
Added Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
msauria committed Jul 26, 2024
1 parent f7ac060 commit 92eaf42
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Build dockerfile on change
name: Build Docker (Dockerfile)

on:
push:
paths:
- 'Dockerfile'
- '.github/workflows/build_docker.yml'
pull_request:
paths:
- 'Dockerfile'
- '.github/workflows/build_docker.yml'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

# Build Tools
- name: Build and Publish
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: andersenlab/bam_toolbox
username: ${{ secrets.KSE_DOCKER_USER }}
password: ${{ secrets.KSE_DOCKER_PASS }}
snapshot: true
dockerfile: Dockerfile
workdir: "."
tags: latest,${{ steps.current-time.formattedTime }}
cache: true
35 changes: 35 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
FROM continuumio/miniconda

RUN apt-get --allow-releaseinfo-change update -t oldoldstable && apt-get install -y \
build-essential \
bzip2 \
ca-certificates \
git \
libglib2.0-0 \
libsm6 \
libxext6 \
libxrender1 \
mariadb-server \
mariadb-client \
wget \
zlib1g-dev

RUN conda install -c daler \
pip \
cython \
matplotlib \
nose \
numpydoc \
pip \
pandas \
pyyaml \
sphinx \
pysam
RUN conda install -c daler \
tabix \
bedtools=2.25.0
ENV DISPLAY=:0
ENV LANG C.UTF-8
WORKDIR /opt/pybedtools

RUN pip install https://github.com/AndersenLab/bam-toolbox/archive/0.0.3.tar.gz

0 comments on commit 92eaf42

Please sign in to comment.