Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32718

Fix deprecation message on Dockerfile

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2021.x, 2023.x
    • Component/s: Docker Image
    • Tags:
    • Team:
      PLATFORM
    • Sprint:
      nxplatform next
    • Story Points:
      2

      Description

      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
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: