Hsien-Cheng(Ryan) Huang created YUNIKORN-2799:
-------------------------------------------------

             Summary: 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


 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
--------------------



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to