MetaCell / java-virgo-maven

Repo that hosts a dockerfile with Java, Eclipse Virgo and Maven preinstalled
0 stars 1 forks source link

A python script to replace copy.sh #13

Open ariel-brassesco opened 4 years ago

ariel-brassesco commented 4 years ago

The files in scripts folder are:

:warning: This seems to be required for the script to work.

USER root
COPY --chown=1000:1000 requirements.txt $HOME
COPY --chown=1000:1000 copy_.py $HOME
RUN apt-get -o Acquire::Check-Valid-Until=false -y update &&\
  apt-get install software-properties-common -o Acquire::Check-Valid-Until=false -y &&\
  add-apt-repository ppa:deadsnakes/ppa -y &&\
  apt-get -y install --no-install-recommends python3-pip python3-dev &&\
  pip3 install --upgrade pip &&\
  pip3 install -r ${HOME}/requirements.txt &&\
  rm -rf /var/lib/apt/lists/*
USER developer
RUN chmod +x $HOME/copy_.py
WORKDIR $HOME