I have tried both
options:
docker: true
and
services:
- docker
but I am still receiving the error:
bash: docker: command not found
My bitbucket-pipelines.yml file:
- step:
name: Get latest versions of libraries
script:
- docker build . -t selenium-chrome && \ docker run -it selenium-chrome python3
- pip install selenium
- pip install beautifulsoup4
- pip install lxml
- python webscrape.py
services:
- docker
artifacts:
- latest_vers.json
My Dockerfile:
FROM selenium/standalone-chrome
USER root
RUN apt-get update && apt-get install python3-distutils -y
RUN wget https://bootstrap.pypa.io/get-pip.py
RUN python3 get-pip.py
RUN python3 -m pip install selenium
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.