[
https://issues.apache.org/jira/browse/YUNIKORN-2799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hsien-Cheng(Ryan) Huang updated YUNIKORN-2799:
----------------------------------------------
Description:
1 warning found:
- RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in
FROM is redundant as this is the default behavior (line 17)
Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is
the default behavior
More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/
Dockerfile:17
--------------------
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | >>> FROM --platform=$TARGETPLATFORM scratch
18 | COPY --chown=0:0 LICENSE NOTICE third-party-licenses.md
yunikorn-scheduler /
19 | USER 4444:4444
--------------------
from docker version 27.1.1
was:
1 warning found:
- RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in
FROM is redundant as this is the default behavior (line 17)
Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is
the default behavior
More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/
Dockerfile:17
--------------------
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | >>> FROM --platform=$TARGETPLATFORM scratch
18 | COPY --chown=0:0 LICENSE NOTICE third-party-licenses.md
yunikorn-scheduler /
19 | USER 4444:4444
--------------------
> Solve dockerfile warning which emerged while building
> -----------------------------------------------------
>
> Key: YUNIKORN-2799
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2799
> Project: Apache YuniKorn
> Issue Type: Bug
> Reporter: Hsien-Cheng(Ryan) Huang
> Assignee: Hsien-Cheng(Ryan) Huang
> Priority: Minor
>
> 1 warning found:
> - RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in
> FROM is redundant as this is the default behavior (line 17)
> Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this
> is the default behavior
> More info:
> https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/
> Dockerfile:17
> --------------------
> 15 | # See the License for the specific language governing permissions
> and
> 16 | # limitations under the License.
> 17 | >>> FROM --platform=$TARGETPLATFORM scratch
> 18 | COPY --chown=0:0 LICENSE NOTICE third-party-licenses.md
> yunikorn-scheduler /
> 19 | USER 4444:4444
> --------------------
> from docker version 27.1.1
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]