Pull docker client from image

This commit is contained in:
2023-08-19 22:22:57 +12:00
parent 9399af1f7d
commit f1871cd066

View File

@@ -3,7 +3,8 @@ ARG DEPOT_VERSION=2.30.0
RUN pip install 'ansible-core<2.17' \
'ansible-compat==3.0.2' \
'molecule[docker]<5.0.0' && \
apt-get update && apt-get install -y docker-cli
'molecule[docker]<5.0.0'
COPY --from=docker:20.10 /usr/local/bin/docker /usr/local/bin/
CMD ["/bin/bash"]