Untitled

mail@pastecode.io avatar
unknown
dockerfile
5 months ago
914 B
1
Indexable
FROM ubuntu:20.04

RUN apt-get update \
    && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
        software-properties-common \
    && add-apt-repository ppa:deadsnakes/ppa \
    && apt-get update && apt-get install -y --no-install-recommends \
        curl \
        git \
        gcc \
        python3.10 \
        python3.10-dev \
        python3-pip \
        build-essential \
        texlive-latex-extra \
        latexmk \
        locales \
        r-base \

    && rm -rf /var/lib/apt/lists/*

RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/'        /etc/locale.gen 
RUN sed -i -e 's/# pt_BR.UTF-8 UTF-8/pt_BR.UTF-8 UTF-8/' /etc/locale.gen 
RUN locale-gen 

RUN ln -s -f /usr/bin/python3.10 /usr/bin/python

WORKDIR /template_project
COPY requirements.txt ./requirements.txt
RUN pip install -r requirements.txt --no-cache-dir

RUN R -e "install.packages('ggplot2')"
Leave a Comment