diff --git a/Dockerfile b/Dockerfile index 8f2f16a..d32b76f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,25 +1,10 @@ -FROM ubuntu +FROM python:3.7-alpine MAINTAINER Rémi Alvergnat -ENV LANG C.UTF-8 -ENV PYENV_ROOT /root/.pyenv -ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH - WORKDIR /root -COPY docker/base_dependencies.txt /root/base_dependencies.txt -RUN apt-get update && \ - apt-get install -y $(cat /root/base_dependencies.txt) && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/base_dependencies.txt /etc/dpkg/dpkg.cfg.d/02apt-speedup - -ENV PYTHONDONTWRITEBYTECODE true -RUN git clone https://github.com/yyuu/pyenv.git /root/.pyenv -RUN pyenv install 3.4.3 && pyenv global 3.4.3 - COPY / /root/guessit/ - WORKDIR /root/guessit/ RUN pip install -e . diff --git a/docker/base_dependencies.txt b/docker/base_dependencies.txt deleted file mode 100644 index 27bb425..0000000 --- a/docker/base_dependencies.txt +++ /dev/null @@ -1,13 +0,0 @@ -build-essential -curl -git-core -libbz2-dev -libreadline-dev -libsqlite3-dev -libssl-dev -llvm -make -python-software-properties -software-properties-common -wget -zlib1g-dev \ No newline at end of file