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-chromeUSER rootRUN apt-get update && apt-get install python3-distutils -yRUN wget https://bootstrap.pypa.io/get-pip.pyRUN python3 get-pip.pyRUN python3 -m pip install selenium
Hi Chong,
Is your pipeline yaml valid. You can check it here. The services method is what's recommended by Bitbucket.
Also, you can try the simplistic example provided here.
It looks like you're new here. Sign in or register to get started.