mirror of
https://github.com/coursera-dl/coursera-dl.git
synced 2026-01-23 10:45:43 +00:00
Also update README and CONTRIBUTING guides with the information on how to build and run Docker image.
15 lines
371 B
Docker
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"]
|