Skip to content

Commit

Permalink
Merge pull request #6 from Sage-Bionetworks-Workflows/dsl2
Browse files Browse the repository at this point in the history
Merge  DSL2 into main
  • Loading branch information
thomasyu888 authored Jul 28, 2023
2 parents 7c253b5 + c1d3b12 commit 34a23bf
Show file tree
Hide file tree
Showing 16 changed files with 889 additions and 310 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: ci

on:
push:
branches:
- 'main'
- 'dsl2'
paths:
- 'docker/**'

jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to quay.io
uses: docker/login-action@v1
with:
registry: quay.io
username: adamjtaylor
password: ${{ secrets.QUAY_PASSWORD }}
-
name: Build and push
uses: docker/build-push-action@v2
with:
context: ./docker
push: true
tags: |
adamjtaylor/htan-artist:latest
quay.io/adamjtaylor/htan-artist:latest
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.nextflow/
work/
.nextflow.log*
test-outputs/
test-outputs/
flowchart*
outputs/*
Binary file added data/cycif_tonsil_small.tiff
Binary file not shown.
Binary file added data/cycif_tonsil_very_small.ome.tiff
Binary file not shown.
2 changes: 2 additions & 0 deletions data/test.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
image,he
data/cycif_tonsil_very_small.ome.tiff, false
15 changes: 10 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
FROM continuumio/miniconda3 AS build

# File Author / Maintainer
MAINTAINER Adam Taylor <[email protected]>
LABEL maintainer="Adam Taylor <[email protected]>"

# Install the package as normal:
COPY environment.yml .
Expand Down Expand Up @@ -48,15 +48,20 @@ RUN apt-get update && apt-get install --yes --no-install-recommends \
libblosc1

RUN source /venv/bin/activate && \
git clone https://github.com/adamjtaylor/miniature.git && \
git clone https://github.com/jmuhlich/auto-minerva.git && \
git clone https://github.com/labsyspharm/minerva-author.git && \
#git clone https://github.com/adamjtaylor/miniature.git && \
git clone https://github.com/adamjtaylor/miniature.git -b v2 && \
#git clone https://github.com/jmuhlich/auto-minerva.git && \
git clone https://github.com/adamjtaylor/auto-minerva.git -b minerva1point5 && \
git clone https://github.com/labsyspharm/minerva-author.git minerva-author-dev && \
git clone https://github.com/labsyspharm/minerva-author.git -b v1.11.2 && \
git clone https://github.com/ncihtan/image-header-validation && \
wget https://gist.githubusercontent.com/adamjtaylor/964e206bf1e6f302f6e512082e953193/raw/0acdea0736a027a260a0bb598f619552ff106758/index.html && \
pip install git+https://github.com/labsyspharm/minerva-lib-python@master#egg=minerva-lib && \
pip install openslide-python && \
pip install opencv-python-headless \
pip install synapseclient
pip install synapseclient \
pip install mantel \
pip install ome_types

ENV VIRTUAL_ENV=/venv
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
7 changes: 5 additions & 2 deletions docker/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ channels:
- fastai
- bioconda
dependencies:
- numpy
- numpy=1.23.0
- Pillow
- flask
- waitress
Expand All @@ -27,5 +27,8 @@ dependencies:
- h5py
- bioformats2raw=0.4.0
- raw2ometiff
- ome-types
- pip
- imagemagick
- tiffslide
- libvips
- estimagic
Loading

0 comments on commit 34a23bf

Please sign in to comment.