You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Hsien-Cheng(Ryan) Huang (Jira)" <ji...@apache.org> on 2024/08/12 12:43:00 UTC

[jira] [Created] (YUNIKORN-2799) Solve dockerfile warning which emerged while building

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: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org