| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:32d41b6329e8f89fa4ac92ef97c04b7cfd5e90fb74e1509c3e27d7c91195b7c7 in / |
| CMD ["/bin/bash"] |
| SHELL [/bin/bash -o pipefail -c] |
| ENV PYTHONUNBUFFERED=1 |
| ENV PYTHONIOENCODING=UTF-8 |
| RUN /bin/bash -o pipefail -c apt-get update # buildkit |
| RUN /bin/bash -o pipefail -c apt-get install -y --no-install-recommends tzdata locales # buildkit |
| RUN /bin/bash -o pipefail -c sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen # buildkit |
| ENV TZ=America/New_York |
| RUN /bin/bash -o pipefail -c ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone # buildkit |
| ENV LANG=en_US.UTF-8 |
| ENV LANGUAGE=en_US:en |
| ENV LC_ALL=en_US.UTF-8 |
| RUN /bin/bash -o pipefail -c echo "LC_ALL=en_US.UTF-8" >> /etc/environment # buildkit |
| RUN /bin/bash -o pipefail -c echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen # buildkit |
| RUN /bin/bash -o pipefail -c echo "LANG=en_US.UTF-8" > /etc/locale.conf # buildkit |
| RUN /bin/bash -o pipefail -c locale-gen en_US.UTF-8 # buildkit |
| RUN /bin/bash -o pipefail -c apt-get update # buildkit |
| RUN /bin/bash -o pipefail -c apt-get install -y fonts-liberation fonts-liberation2 fonts-font-awesome fonts-ubuntu fonts-terminus fonts-powerline fonts-open-sans fonts-mononoki fonts-roboto fonts-lato # buildkit |
| RUN /bin/bash -o pipefail -c apt-get update # buildkit |
| RUN /bin/bash -o pipefail -c apt-get install -y libasound2 libatk-bridge2.0-0 libatk1.0-0 libatspi2.0-0 libcups2 libdbus-1-3 libdrm2 libgbm1 libgtk-3-0 libnspr4 libnss3 libu2f-udev libvulkan1 libwayland-client0 libxcomposite1 libxdamage1 libxfixes3 libxkbcommon0 libxrandr2 # buildkit |
| RUN /bin/bash -o pipefail -c apt-get update # buildkit |
| RUN /bin/bash -o pipefail -c apt-get install -y xdg-utils ca-certificates # buildkit |
| RUN /bin/bash -o pipefail -c apt-get update # buildkit |
| RUN /bin/bash -o pipefail -c apt-get -qy --no-install-recommends install curl sudo unzip vim wget xvfb # buildkit |
| RUN /bin/bash -o pipefail -c apt-get update # buildkit |
| RUN /bin/bash -o pipefail -c wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb # buildkit |
| RUN /bin/bash -o pipefail -c apt-get install -y ./google-chrome-stable_current_amd64.deb # buildkit |
| RUN /bin/bash -o pipefail -c rm ./google-chrome-stable_current_amd64.deb # buildkit |
| RUN /bin/bash -o pipefail -c apt-get update # buildkit |
| RUN /bin/bash -o pipefail -c apt-get install -y python3 python3-pip python3-setuptools python3-dev python3-tk # buildkit |
| RUN /bin/bash -o pipefail -c alias python=python3 # buildkit |
| RUN /bin/bash -o pipefail -c echo "alias python=python3" >> ~/.bashrc # buildkit |
| RUN /bin/bash -o pipefail -c apt-get -qy --no-install-recommends install python3.10 # buildkit |
| RUN /bin/bash -o pipefail -c rm /usr/bin/python3 # buildkit |
| RUN /bin/bash -o pipefail -c ln -s python3.10 /usr/bin/python3 # buildkit |
| RUN /bin/bash -o pipefail -c apt-get clean # buildkit |
| RUN /bin/bash -o pipefail -c rm -rf /var/lib/apt/lists/* # buildkit |
| COPY sbase /SeleniumBase/sbase/ # buildkit |
| COPY seleniumbase /SeleniumBase/seleniumbase/ # buildkit |
| COPY examples /SeleniumBase/examples/ # buildkit |
| COPY integrations /SeleniumBase/integrations/ # buildkit |
| COPY requirements.txt /SeleniumBase/requirements.txt # buildkit |
| COPY setup.py /SeleniumBase/setup.py # buildkit |
| COPY MANIFEST.in /SeleniumBase/MANIFEST.in # buildkit |
| COPY pytest.ini /SeleniumBase/pytest.ini # buildkit |
| COPY setup.cfg /SeleniumBase/setup.cfg # buildkit |
| COPY virtualenv_install.sh /SeleniumBase/virtualenv_install.sh # buildkit |
| RUN /bin/bash -o pipefail -c find . -name '*.pyc' -delete # buildkit |
| RUN /bin/bash -o pipefail -c pip install --upgrade pip setuptools wheel # buildkit |
| RUN /bin/bash -o pipefail -c cd /SeleniumBase && ls && pip install -r requirements.txt --upgrade # buildkit |
| RUN /bin/bash -o pipefail -c cd /SeleniumBase && pip install . # buildkit |
| RUN /bin/bash -o pipefail -c pip install pyautogui # buildkit |
| RUN /bin/bash -o pipefail -c seleniumbase get chromedriver --path # buildkit |
| COPY GumtreeAU.py /GumtreeAU.py # buildkit |
| COPY Mercari.py /Mercari.py # buildkit |
| COPY Buycycle.py /Buycycle.py # buildkit |
| COPY Pinkbike.py /Pinkbike.py # buildkit |
| COPY start.py /start.py # buildkit |
| COPY .env /.env # buildkit |
| ENV DISPLAY=:0 |
| COPY GumtreeAU.py /GumtreeAU.py # buildkit |
| COPY Mercari.py /Mercari.py # buildkit |
| COPY Buycycle.py /Buycycle.py # buildkit |
| COPY Pinkbike.py /Pinkbike.py # buildkit |
| COPY start.py /start.py # buildkit |
| COPY .env /.env # buildkit |
| ENV DISPLAY=:0 |
| COPY integrations/docker/docker-entrypoint.sh / # buildkit |
| COPY integrations/docker/run_docker_test_in_chrome.sh / # buildkit |
| RUN /bin/bash -o pipefail -c chmod +x *.sh # buildkit |
| ENTRYPOINT ["/docker-entrypoint.sh"] |