rspec/rules/S6469/docker/rule.adoc

32 lines
504 B
Plaintext
Raw Normal View History

== Why is this an issue?
include::../description.adoc[]
=== Noncompliant code example
[source,docker]
----
RUN --mount=type=secret,id=build_secret,mode=0777 ./installer.sh # Noncompliant
----
=== Compliant solution
[source,docker]
----
RUN --mount=type=secret,id=build_secret,uid=1000 ./installer.sh
----
include::../see.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
'''
endif::env-github,rspecator-view[]