16 lines
365 B
Plaintext
16 lines
365 B
Plaintext
![]() |
The Dockerfile instructions are not case-sensitive. However, they should be in upper case to distinguish them from arguments more easily. Shared coding conventions allow teams to collaborate effectively.
|
||
|
|
||
|
== Noncompliant Code Example
|
||
|
|
||
|
[source,docker]
|
||
|
----
|
||
|
from ubuntu:22.04 as jammy
|
||
|
----
|
||
|
|
||
|
== Compliant Solution
|
||
|
|
||
|
[source,docker]
|
||
|
----
|
||
|
FROM ubuntu:22.04 AS jammy
|
||
|
----
|