Step 24/42 : ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${PLATFORM} /tini
ADD failed: failed to GET https://github.com/krallin/tini/releases/download/v0.19.0/tini- with status 404 Not Found
I am guessing that ENV PLATFORM=${TARGETARCH} from the dockerfile isn't being set correctly.
Following the warning from the log:
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit
I installed the dockerx plugin, resulting in a successful build with the command:
docker buildx build -t $CHAINCODE_IMAGE contracts/$CHAINCODE_NAME-typescript
Using the command docker build from the cloud chaincode deployment issues the following error:
I am guessing that
ENV PLATFORM=${TARGETARCH}
from the dockerfile isn't being set correctly.Following the warning from the log:
I installed the dockerx plugin, resulting in a successful build with the command:
docker buildx build -t $CHAINCODE_IMAGE contracts/$CHAINCODE_NAME-typescript