I have a project on Bitbucket, which contains a Dockerfile used to build the project.
After each push I want Bitbucket to build that Dockerfile (and send me an Email in case of errors).
The pipeline should be able to do so, but I'm not sure hot to set it up correctly for building Dockerfiles.
I tried the following:
image: docker pipelines: default: - step: script: - docker build .
However this will not work, because the docker image does not include bash. Even if I add bash to the image it will complain because no docker server process is running.
Another solution would be telling dockerhub to pull that repository, but I don't want to publish the result, yet.
So is there a way to build the project simply using the Bitbucket pipeline feature?
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot