Console Output
16:15:41 + docker build -t dockerpinata/docker-py:py3-cd2c35a9b699522b282cc4f024efa5699df24896 -f tests/Dockerfile --build-arg PYTHON_VERSION=3.10 .
16:15:41 Sending build context to Docker daemon 1.391MB
16:15:41 Step 1/24 : ARG PYTHON_VERSION=3.10
16:15:41 Step 2/24 : FROM python:${PYTHON_VERSION}
16:15:41 ---> 3a49f9c9c80e
16:15:41 Step 3/24 : ARG APT_MIRROR
16:15:41 ---> Using cache
16:15:41 ---> 4ff8157a8236
16:15:41 Step 4/24 : RUN sed -ri "s/(httpredir|deb).debian.org/${APT_MIRROR:-deb.debian.org}/g" /etc/apt/sources.list && sed -ri "s/(security).debian.org/${APT_MIRROR:-security.debian.org}/g" /etc/apt/sources.list
16:15:41 ---> Using cache
16:15:41 ---> 99ff63df60a8
16:15:41 Step 5/24 : RUN apt-get update && apt-get -y install --no-install-recommends gnupg2 pass
16:15:41 ---> Using cache
16:15:41 ---> aeacded1698b
16:15:41 Step 6/24 : COPY tests/ssh/config/client /root/.ssh
16:15:41 ---> Using cache
16:15:41 ---> bb1ef1ce3a9d
16:15:41 Step 7/24 : COPY tests/ssh/config/server/known_ed25519.pub /root/.ssh/known_hosts
16:15:41 ---> Using cache
16:15:41 ---> 49caba4c051e
16:15:41 Step 8/24 : RUN sed -i '1s;^;dpy-dind-ssh ;' /root/.ssh/known_hosts
16:15:41 ---> Using cache
16:15:41 ---> a61f56d8255f
16:15:41 Step 9/24 : RUN chmod -R 600 /root/.ssh
16:15:41 ---> Using cache
16:15:41 ---> dd9a02a29578
16:15:41 Step 10/24 : COPY ./tests/gpg-keys /gpg-keys
16:15:41 ---> Using cache
16:15:41 ---> f4fa8de22160
16:15:41 Step 11/24 : RUN gpg2 --import gpg-keys/secret
16:15:41 ---> Using cache
16:15:41 ---> d992e2071298
16:15:41 Step 12/24 : RUN gpg2 --import-ownertrust gpg-keys/ownertrust
16:15:41 ---> Using cache
16:15:41 ---> 0cd810301234
16:15:41 Step 13/24 : RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}')
16:15:41 ---> Using cache
16:15:41 ---> 13569804cef6
16:15:41 Step 14/24 : RUN gpg2 --check-trustdb
16:15:41 ---> Using cache
16:15:41 ---> 36b3e102d192
16:15:41 Step 15/24 : ARG CREDSTORE_VERSION=v0.6.3
16:15:41 ---> Using cache
16:15:41 ---> 3cd015e52f04
16:15:41 Step 16/24 : RUN curl -sSL -o /opt/docker-credential-pass.tar.gz https://github.com/docker/docker-credential-helpers/releases/download/$CREDSTORE_VERSION/docker-credential-pass-$CREDSTORE_VERSION-amd64.tar.gz && tar -xf /opt/docker-credential-pass.tar.gz -O > /usr/local/bin/docker-credential-pass && rm -rf /opt/docker-credential-pass.tar.gz && chmod +x /usr/local/bin/docker-credential-pass
16:15:41 ---> Using cache
16:15:41 ---> 5e0e182c4bfc
16:15:41 Step 17/24 : WORKDIR /src
16:15:41 ---> Using cache
16:15:41 ---> 078d192081b1
16:15:41 Step 18/24 : COPY requirements.txt /src/requirements.txt
16:15:41 ---> Using cache
16:15:41 ---> 0454fd07228c
16:15:41 Step 19/24 : RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt
16:15:41 the --mount option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled