I would like to use bitbucket pipelines. I configure pipelines file but i have this error:
<span>unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /opt/atlassian/pipelines/agent/build/Dockerfile: no such file or directory</span>
here is my config file:
image: maven:3.3.9
options:
docker: true
pipelines:
branches:
develop:
- step:
caches:
- maven
script:
- export IMAGE_NAME=$DOCKER_HUB_USERNAME/$DOCKER_HUB_APP_NAME:$BITBUCKET_COMMIT
- docker build -t $IMAGE_NAME .
- docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
- docker push $IMAGE_NAME
services:
- database
definitions:
services:
database:
image: mysql
environment:
MYSQL_ROOT_PASSWORD: password
Any help please!