2020-08-24 15:47:04 +02:00
|
|
|
# Derive docker image from debian base image
|
2020-07-21 11:22:31 +02:00
|
|
|
FROM debian
|
|
|
|
|
2020-08-24 15:47:04 +02:00
|
|
|
# update package cache and isntall python 3 as well as pip 3
|
2020-07-21 11:22:31 +02:00
|
|
|
RUN apt-get update && apt-get install -y \
|
2020-07-21 13:23:51 +02:00
|
|
|
python3 \
|
2020-07-21 13:34:07 +02:00
|
|
|
python3-pip
|
2020-07-21 11:22:31 +02:00
|
|
|
|
2020-08-24 15:47:04 +02:00
|
|
|
# Install the module necessary for virtual environments
|
2020-07-21 13:34:07 +02:00
|
|
|
RUN pip3 install virtualenv
|
2020-07-21 11:22:31 +02:00
|
|
|
|
2020-08-24 15:47:04 +02:00
|
|
|
# Use bash as entry point for the container
|
2020-07-21 11:22:31 +02:00
|
|
|
CMD ["/bin/bash"]
|