Skip to content

Commit

Permalink
update the Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gmauro committed Jan 5, 2025
1 parent f8859c3 commit bc60beb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM condaforge/mambaforge:latest
LABEL io.github.snakemake.containerized="true"
LABEL io.github.snakemake.conda_env_hash="baeaa25c333875fb8e8bda73b8af453c2ecc262cf0834542e82d08b3a14abf44"
LABEL io.github.snakemake.conda_env_hash="27a8aac2ad6ed56e79ed58d1810866e0a65272904d46a85ff748c8d3f97b64ee"

ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && apt install -y build-essential libz-dev && rm -rf /var/lib/apt/lists/*
Expand Down Expand Up @@ -53,7 +53,7 @@ COPY workflow/envs/filtering.yaml /conda-envs/31fc19a9498faffb09aa18f9246db95e/e

# Conda environment:
# source: workflow/scripts/gwaspipe/environment.yml
# prefix: /conda-envs/1f62a09615f902ba65d1d0a9aee3d4aa
# prefix: /conda-envs/f92e5dc6c8bd85b80043e2a3f2c3702c
# name: gwaspipe
# channels:
# - conda-forge
Expand All @@ -71,13 +71,14 @@ COPY workflow/envs/filtering.yaml /conda-envs/31fc19a9498faffb09aa18f9246db95e/e
# - loguru==0.7.2
# - cloup==3.0.4
# - pybedtools==0.9.1
RUN mkdir -p /conda-envs/1f62a09615f902ba65d1d0a9aee3d4aa
COPY workflow/scripts/gwaspipe/environment.yml /conda-envs/1f62a09615f902ba65d1d0a9aee3d4aa/environment.yaml
# - matplotlib==3.8.3
RUN mkdir -p /conda-envs/f92e5dc6c8bd85b80043e2a3f2c3702c
COPY workflow/scripts/gwaspipe/environment.yml /conda-envs/f92e5dc6c8bd85b80043e2a3f2c3702c/environment.yaml

# Step 2: Generate conda environments

RUN mamba env create --prefix /conda-envs/6e056d31662ab0bd2fd3fba49416042f --file /conda-envs/6e056d31662ab0bd2fd3fba49416042f/environment.yaml && \
mamba env create --prefix /conda-envs/a160f42d06f9d24b41c5cbece52b682d --file /conda-envs/a160f42d06f9d24b41c5cbece52b682d/environment.yaml && \
mamba env create --prefix /conda-envs/31fc19a9498faffb09aa18f9246db95e --file /conda-envs/31fc19a9498faffb09aa18f9246db95e/environment.yaml && \
mamba env create --prefix /conda-envs/1f62a09615f902ba65d1d0a9aee3d4aa --file /conda-envs/1f62a09615f902ba65d1d0a9aee3d4aa/environment.yaml && \
mamba env create --prefix /conda-envs/f92e5dc6c8bd85b80043e2a3f2c3702c --file /conda-envs/f92e5dc6c8bd85b80043e2a3f2c3702c/environment.yaml && \
mamba clean --all -y

0 comments on commit bc60beb

Please sign in to comment.