coursera-dl/Dockerfile
Yuri Bochkarev ef3268677e Update Dockerfile to use Python3.6 and install from PyPI package
Also update README and CONTRIBUTING guides with the information
on how to build and run Docker image.
2018-06-10 01:33:39 +03:00

15 lines
371 B
Docker

FROM python:3.6-slim
LABEL maintainer "https://github.com/coursera-dl/"
RUN apt-get update && \
apt-get install -y --no-install-recommends gcc g++ libssl-dev && \
rm -rf /var/lib/apt/lists/* && \
apt-get purge -y --auto-remove gcc g++ libssl-dev
ARG VERSION
RUN pip install coursera-dl==$VERSION
WORKDIR /courses
ENTRYPOINT ["coursera-dl"]
CMD ["--help"]