# syntax=docker/dockerfile:1 FROM ubuntu:20.04 RUN useradd user -m -p hellogoodbye WORKDIR /home/user/ COPY requirements.txt requirements.txt ARG DEBIAN_FRONTEND=noninteractive ENV TZ=Europe/Rome RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN apt-get update -y RUN apt-get install -y firefox nano net-tools tigervnc-standalone-server x11vnc xorg xserver-xephyr xterm xvfb python3 python3-pip wget unzip python3-tk python3-dev RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb RUN apt-get install -y ./google-chrome-stable_current_amd64.deb RUN wget https://chromedriver.storage.googleapis.com/97.0.4692.71/chromedriver_linux64.zip RUN unzip chromedriver_linux64.zip RUN chmod +x chromedriver RUN mv chromedriver /usr/bin/ RUN wget https://github.com/mozilla/geckodriver/releases/download/v0.30.0/geckodriver-v0.30.0-linux64.tar.gz RUN tar -xvzf geckodriver* RUN chmod +x geckodriver run mv geckodriver /usr/bin USER user RUN pip3 install --upgrade pip RUN pip3 install -r requirements.txt ENTRYPOINT ["/bin/bash", "/home/user/colab_automator.sh"] #ENTRYPOINT ["ls", "-la", "/code"]