Hi, thanks for maintianing this repo up to date.
The docker image size on my server takes 1.29GB, which I am feeling is relatively too big compare with the image's feature.
I am not a expert user of docker, feel free to fix me if I say anything wrong.
From the Dockerfile, I can see few things we can do to reduce the image size.
- Switched to alpine:latest for a smaller base image.
FROM alpine:latest or maybe any python ready image?
- Combined unnecessary RUN instructions to reduce the number of layers.
RUN apt-get -y install ${PYTHON}-pip && \ apt-get -y install ${PYTHON}-selenium && \ apt-get -y install ${PYTHON}-pyotp && \ apt-get -y install curl wget etc.
What do you think about above ideas? Thank you.
Hi, thanks for maintianing this repo up to date.
The docker image size on my server takes 1.29GB, which I am feeling is relatively too big compare with the image's feature.
I am not a expert user of docker, feel free to fix me if I say anything wrong.
From the Dockerfile, I can see few things we can do to reduce the image size.
What do you think about above ideas? Thank you.