Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-23 00:19:06 +00:00
parent 8ba6f7fc9e
commit 94c28849c9
382 changed files with 1183 additions and 1056 deletions

View File

@@ -18,19 +18,19 @@ source: https://github.com/tldr-pages/tldr.git
- Build a Docker image and tag it:
`docker build --tag {{name:tag}} .`
`docker build {{[-t|--tag]}} {{name:tag}} .`
- Build a Docker image with no build context:
`docker build --tag {{name:tag}} - < {{Dockerfile}}`
`docker build {{[-t|--tag]}} {{name:tag}} - < {{Dockerfile}}`
- Do not use the cache when building the image:
`docker build --no-cache --tag {{name:tag}} .`
`docker build --no-cache {{[-t|--tag]}} {{name:tag}} .`
- Build a Docker image using a specific Dockerfile:
`docker build --file {{Dockerfile}} .`
`docker build {{[-f|--file]}} {{Dockerfile}} .`
- Build with custom build-time variables: