precise-lite/Dockerfile

25 lines
812 B
Docker
Raw Permalink Normal View History

2022-12-04 03:12:39 +00:00
FROM ubuntu:18.04 AS python-ubuntu
2022-12-08 07:31:13 +00:00
RUN apt-get update && \
apt-get install -y build-essential curl python3 python3-pip python3-venv && \
rm -rf /var/lib/apt/lists/*
2022-12-04 03:12:39 +00:00
# Inorder to run pip3.6, run it the following way `python3.6 -m pip`
# Update Python & Install wheel
RUN python3 -m pip install pip --upgrade
RUN python3 -m pip install wheel
FROM python-ubuntu
2022-12-08 07:31:13 +00:00
RUN apt-get update && \
apt-get install liblapack-dev libpng-dev libfreetype6-dev libqhull-dev git pkg-config portaudio19-dev swig libpulse-ocaml-dev gfortran libopenblas-dev libatlas-base-dev -y && \
rm -rf /var/lib/apt/lists/*
2022-12-04 03:12:39 +00:00
RUN mkdir /training && pip3 install git+https://github.com/tystuyfzand/precise-lite.git@feature/tf24
2022-12-04 08:51:38 +00:00
WORKDIR /training
2022-12-04 08:37:35 +00:00
2022-12-04 09:00:34 +00:00
COPY entrypoint.sh /entrypoint.sh
2022-12-04 09:33:06 +00:00
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/bin/bash"]