Hello.
I’ve configured wercker to run my sbt test
task succesfully. And would like to continue to the deployment stages of my workflow.
My app has multiple containers that get created, using the sbt-native-packager plugin, which I create by running sbt docker:publishLocal
. These containers can then be pushed to a remote docker repository for staging and deployment.
However it doesn’t look like this step works, as docker cannot work on the image I’m using: circleci/openjdk:8-jdk
. So I’m wondering what to do. Any assistance would be appreciated.
As it stands right now, trying to have a job which calls sbt docker:publishLocal
errors out with : [error] Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Edit: https://circleci.com/docs/2.0/building-docker-images/ Found this article and it helped!