chore(docker): expand on building

This commit is contained in:
Michele Cereda
2025-06-12 22:41:45 +02:00
parent 1dfbd7c246
commit 540c46cca4
2 changed files with 75 additions and 1 deletions

View File

@@ -55,3 +55,12 @@ hdiutil attach -nomount 'ram://4194304' | xargs diskutil erasevolume HFS+ 'ramdi
# Remove containers
docker ps -aq | xargs docker container rm
# Build images
docker build -t 'someTag' '.'
docker buildx build -t 'someTag' '.'
docker buildx build '.' -t 'someTag' --platform 'linux/amd64' --progress=plain --no-cache
# Remove build cache and leftovers
docker builder prune -a
docker buildx prune -a