mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
chore(docker): expand on building
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user