Skip to content

Commit

Permalink
Remove line causing docker build issues
Browse files Browse the repository at this point in the history
Removed line reported to be causing issues due to no longer being
required for secrets.

QA: Ran linter, linkcheck, and viewed rendered HTML.

This commit relates to FS-2820: "…Docker Build Stages Not Caching…"

Signed-off-by: Katrina Prosise <[email protected]>
  • Loading branch information
kprosise committed Nov 22, 2024
1 parent 68e2b44 commit aef7a48
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions source/reference-manual/docker/container-secrets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@ Update ``factory-config.yml`` from ci-scripts.git to instruct the build scripts
Update the Dockerfile for the container with something like::

# syntax=docker/dockerfile:1.0.0-experimental
# NOTE: - the first line must be this "syntax=" to enable this feature.
FROM alpine

# Docker places secrets under /run/secrets/<id>
RUN --mount=type=secret,id=secret_1 echo "secret_1 is here:" && cat /run/secrets/secret_1
RUN --mount=type=secret,id=secret_2 echo "secret_2 is here:" && cat /run/secrets/secret_2

0 comments on commit aef7a48

Please sign in to comment.