Browse Source

docs(feature/extended-builds): update build command to remove intermediate containers

Josh Habdas 6 months ago
parent
commit
dc2adcdc76
Signed by: Josh Habdas <jhabdas@protonmail.com> GPG Key ID: B148B31154C75A74
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      docs/content/feature/code-analysis.md
  2. 1
    1
      docs/content/feature/extended-builds.md

+ 1
- 1
docs/content/feature/code-analysis.md View File

@@ -17,7 +17,7 @@ Code analysis is ideal for identifying potential 404 errors and determining when
17 17
 To use install Docker then run the following command:
18 18
 
19 19
 ```sh
20
-cd after-dark/docker/htmltest && docker build .
20
+cd after-dark/docker/htmltest && docker build --rm .
21 21
 ```
22 22
 
23 23
 Build container uses Alpine and includes `musl-dev` for high-performance. Update the `HTMLTEST_VERSION` to get a specific release built. Upon successful build extract the resulting binary out of the scratch container like:

+ 1
- 1
docs/content/feature/extended-builds.md View File

@@ -15,7 +15,7 @@ After Dark ships with the ability to build Hugo from tagged-version source. Supp
15 15
 To use install Docker then run the following command:
16 16
 
17 17
 ```sh
18
-cd after-dark/docker/hugo && docker build .
18
+cd after-dark/docker/hugo && docker build --rm .
19 19
 ```
20 20
 
21 21
 Build container uses Alpine and includes `musl-dev` for high-performance. Update the `HUGO_VERSION` to get a specific Hugo release built. Upon successful build extract the resulting `hugo` binary out of the scratch container like:

Loading…
Cancel
Save