Closed MasterPi-2124 closed 3 years ago
after reading through docker buildx document. Turns out that you need to create a builder instance first. Run
docker buildx create --use
docker buildx build --tag sos-full --file Dockerfile --platform linux/arm64 --progress plain --cache-to ghcr.io/faddat/sos-full:cache --cache-from ghcr.io/faddat/sos-full:cache --load ../..
it should solve the problem.
done
Step
run
build.sh
inrpi
directory:It seems that
--cache
flags is missing somewhere.