I want to run pants and build my docker images dur...
# general
I want to run pants and build my docker images during a CICD run on Drone.io. But I need a docker-in-docker image. The default dind image is based on Alpine which pants does not support. Can anyone suggest another dind image from DockerHub that will work for pants?
@curved-television-6568, you're the expert... :)
There’s previous thread on this topic here: https://pantsbuild.slack.com/archives/C046T6T9U/p1654725036264899 Hopefully that’ll be of some help here as well.
I haven't tried this myself, but maybe you could run the official dind image as a Drone pipeline service (https://docs.drone.io/pipeline/docker/syntax/services/) and connect to it from your pipeline step using the
env variable? You'd still need to use an image that has the
command installed, but you wouldn't need to run the daemon in that image.
If that doesn't work, you might consider building your own image for this. You can find the dind Dockerfile here, along with the Dockerfile for its "parent" image. It doesn't look like it would be much work to port this over to another base image.
🙏 1
Thanks everyone. We got it working by building our own debian based dind image for drone.
💯 1
👍 1