-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Component/s: Docker Image
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform next
-
Story Points:2
We have observed in the CI the following warnings:
[2024-06-30T00:23:16.070Z] - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 11) [2024-06-30T00:23:16.070Z] - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 115) [2024-06-30T00:23:16.070Z] - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 119) [2024-06-30T00:23:16.070Z] - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 122) [2024-06-30T00:23:16.070Z] - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 123) [2024-06-30T00:23:16.070Z] - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 124)
The two code snippets below have been deprecated and should be updated:
FROM azul/zulu-openjdk:17 as builder
# should be updated to
FROM azul/zulu-openjdk:17 AS builder
ENV LANG en_US.utf8
# should be updated to
ENV LANG=en_US.utf8