github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/deployments/engine/docker/dind.Dockerfile (about) 1 # In this file, we build an image with `docker-cli in docker` for engine integration tests. 2 # For `dockerd in docker`, please refer to https://hub.docker.com/_/docker/tags?page=1&name=dind. 3 FROM golang:1.21-alpine as builder 4 5 # If you add a new command dependency to engine integration test, add here and 6 # rebuild this image as well 7 RUN apk update && apk add --no-cache docker-cli \ 8 make bash curl git \ 9 jq mariadb-client openssl 10 11 # For better compatibility, use `docker-compose` directly instead of the subcommand 'docker compose' 12 RUN wget -O /usr/bin/docker-compose https://github.com/docker/compose/releases/download/v2.10.2/docker-compose-linux-x86_64 && \ 13 chmod +x /usr/bin/docker-compose 14 15 # mc for minio related tests \ 16 RUN wget -O /usr/bin/mc https://dl.min.io/client/mc/release/linux-amd64/mc && \ 17 chmod +x /usr/bin/mc