You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by cc...@apache.org on 2024/09/06 14:55:45 UTC

(yunikorn-k8shim) branch master updated: [YUNIKORN-2799] Fix Dockerfile warnings (#910)

This is an automated email from the ASF dual-hosted git repository.

ccondit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-k8shim.git


The following commit(s) were added to refs/heads/master by this push:
     new 8ab6ecfb [YUNIKORN-2799] Fix Dockerfile warnings (#910)
8ab6ecfb is described below

commit 8ab6ecfb45817805151c24a7c5a77a65832c897f
Author: ryankert <ry...@gmail.com>
AuthorDate: Fri Sep 6 09:55:27 2024 -0500

    [YUNIKORN-2799] Fix Dockerfile warnings (#910)
    
    Closes: #910
    
    Signed-off-by: Craig Condit <cc...@apache.org>
---
 docker/admission/Dockerfile | 2 +-
 docker/plugin/Dockerfile    | 2 +-
 docker/scheduler/Dockerfile | 2 +-
 docker/webtest/Dockerfile   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docker/admission/Dockerfile b/docker/admission/Dockerfile
index 5482b15e..aa8e7e7f 100644
--- a/docker/admission/Dockerfile
+++ b/docker/admission/Dockerfile
@@ -14,7 +14,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-FROM --platform=$TARGETPLATFORM scratch
+FROM scratch
 COPY --chown=0:0 LICENSE NOTICE third-party-licenses.md yunikorn-admission-controller /
 USER 4444:4444
 ENTRYPOINT [ "/yunikorn-admission-controller" ]
diff --git a/docker/plugin/Dockerfile b/docker/plugin/Dockerfile
index 4a3a8ca9..96673a21 100644
--- a/docker/plugin/Dockerfile
+++ b/docker/plugin/Dockerfile
@@ -14,7 +14,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-FROM --platform=$TARGETPLATFORM scratch
+FROM scratch
 COPY --chown=0:0 LICENSE NOTICE third-party-licenses.md yunikorn-scheduler-plugin scheduler-config.yaml /
 USER 4444:4444
 ENTRYPOINT [ "/yunikorn-scheduler-plugin", "--bind-address=0.0.0.0", "--config=/scheduler-config.yaml" ]
diff --git a/docker/scheduler/Dockerfile b/docker/scheduler/Dockerfile
index 3d2430b1..7843a6ae 100644
--- a/docker/scheduler/Dockerfile
+++ b/docker/scheduler/Dockerfile
@@ -14,7 +14,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-FROM --platform=$TARGETPLATFORM scratch
+FROM scratch
 COPY --chown=0:0 LICENSE NOTICE third-party-licenses.md yunikorn-scheduler /
 USER 4444:4444
 ENTRYPOINT [ "/yunikorn-scheduler" ]
diff --git a/docker/webtest/Dockerfile b/docker/webtest/Dockerfile
index e0ef92cf..5ff7a09a 100644
--- a/docker/webtest/Dockerfile
+++ b/docker/webtest/Dockerfile
@@ -16,7 +16,7 @@
 # limitations under the License.
 
 # Imagestage: use scratch base image
-FROM --platform=$TARGETPLATFORM scratch
+FROM scratch
 COPY --chown=0:0 document/index.html /html/
 COPY --chown=0:0 LICENSE NOTICE third-party-licenses.md web-test-server /
 EXPOSE 9889


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org