Skip to content

Commit

Permalink
conda installation
Browse files Browse the repository at this point in the history
  • Loading branch information
jrosell committed Feb 29, 2024
1 parent e7c7dea commit 9313cf8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions conda.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
FROM python:3.12-slim-bookworm

RUN apt-get install -y wget && rm -rf /var/lib/apt/lists/*
RUN apt-get update \
&& apt-get install -y wget \
&& rm -rf /var/lib/apt/lists/*

RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
&& mkdir /root/.conda \
&& bash Miniconda3-latest-Linux-x86_64.sh -b \
&& bash Miniconda3-latest-Linux-x86_64.sh -b -p /root/miniconda \
&& rm -f Miniconda3-latest-Linux-x86_64.sh \
&& conda install r-base r-dplyr r-purrr r-purrr r-readr r-stringr r-ggplot2 r-janitor r-targets r-curl -y --quiet --channel=conda-forge
&& PATH="/root/miniconda/bin:$PATH" \
&& conda install r-base r-dplyr r-purrr r-readr r-stringr r-ggplot2 r-janitor r-targets r-curl -y --quiet --channel=conda-forge

WORKDIR /workspace
COPY _targets.R functions.R /workspace/
Expand Down

0 comments on commit 9313cf8

Please sign in to comment.