You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
589 B
20 lines
589 B
6 years ago
|
FROM ubuntu:16.04
|
||
|
|
||
|
RUN apt-get update && apt-get install -y make python python-pip locales curl git zlib1g-dev libffi-dev bzip2 libssl-dev
|
||
|
|
||
|
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen
|
||
|
ENV LANG en_US.UTF-8
|
||
|
ENV LANGUAGE en_US:en
|
||
|
ENV LC_ALL en_US.UTF-8
|
||
|
|
||
|
RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
|
||
|
|
||
|
ENV PATH="/root/.pyenv/bin:/root/.pyenv/shims:${PATH}"
|
||
|
RUN pyenv install 3.7.3
|
||
|
RUN pyenv global 3.7.3
|
||
|
RUN pyenv rehash
|
||
|
|
||
|
COPY requirements.txt /tmp/
|
||
|
RUN pip install -r /tmp/requirements.txt
|
||
|
COPY . /panda
|