Skip to content

Commit b042680

Browse files
committed
add dockerfile
1 parent 64b4396 commit b042680

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM mambaorg/micromamba:2.3.0-debian11
2+
3+
WORKDIR /methylasso
4+
5+
USER root
6+
RUN apt -y update && apt install -y git
7+
RUN git clone -b v1.0.0 https://github.com/bardetlab/methylasso .
8+
9+
RUN micromamba install -y -n base -f conda_env.yml \
10+
&& micromamba install -y -n base gcc gxx conda-forge::procps-ng \
11+
&& micromamba env export --name base --explicit > environment.lock \
12+
&& echo ">> CONDA_LOCK_START" \
13+
&& cat environment.lock \
14+
&& echo "<< CONDA_LOCK_END" \
15+
&& micromamba clean -a -y
16+
# USER root
17+
ENV PATH="$MAMBA_ROOT_PREFIX/bin:$PATH"
18+
19+
RUN R CMD INSTALL --preclean .

0 commit comments

Comments
 (0)