precise-lite/Dockerfile
Tyler 72406bd395
All checks were successful
continuous-integration/drone/push Build is passing
Fix script name
2022-12-04 03:42:12 -05:00

18 lines
732 B
Docker

FROM ubuntu:18.04 AS python-ubuntu
RUN apt-get update
RUN apt-get install -y build-essential curl python3 python3-pip python3-venv
# 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
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
RUN pip3 install precise-lite
COPY scripts/precise-lite-convert-h5 /usr/local/bin/precise-lite-convert-h5
COPY scripts/convert_h5.py /usr/local/lib/python3.6/dist-packages/precise_lite/scripts/convert_h5.py