From 2aae4633ee07f31f4e4ef1f8023f84c5eb02b71a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=B0=8F=E7=99=BD?= <296015668@qq.com> Date: Thu, 4 Jul 2024 13:04:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=20buildx=20=E5=91=8A?= =?UTF-8?q?=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- allinone/Dockerfile | 4 ++-- chen/Dockerfile | 2 +- core/Dockerfile | 4 ++-- koko/Dockerfile | 4 ++-- lion/Dockerfile | 2 +- web/Dockerfile | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/allinone/Dockerfile b/allinone/Dockerfile index 72deafb..7f14738 100644 --- a/allinone/Dockerfile +++ b/allinone/Dockerfile @@ -1,5 +1,5 @@ -FROM redis:7.0-bookworm as redis -FROM jumpserver/guacd:1.5.5-bookworm as guacd +FROM redis:7.0-bookworm AS redis +FROM jumpserver/guacd:1.5.5-bookworm AS guacd FROM jumpserver/jms_core:v4.0.0 ARG TARGETARCH diff --git a/chen/Dockerfile b/chen/Dockerfile index 01d8d9a..933f909 100644 --- a/chen/Dockerfile +++ b/chen/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:bookworm-slim as stage-1 +FROM debian:bookworm-slim AS stage-1 ARG TARGETARCH ARG DEPENDENCIES=" \ diff --git a/core/Dockerfile b/core/Dockerfile index 87f95b0..37182bd 100644 --- a/core/Dockerfile +++ b/core/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11-slim-bookworm as stage-1 +FROM python:3.11-slim-bookworm AS stage-1 ARG TARGETARCH ARG DEPENDENCIES=" \ @@ -42,7 +42,7 @@ RUN set -e \ && chmod +x /opt/jumpserver/entrypoint.sh \ && rm -rf /opt/jumpserver/.git /opt/jumpserver/.github -FROM python:3.11-slim-bookworm as stage-2 +FROM python:3.11-slim-bookworm AS stage-2 ARG TARGETARCH ARG BUILD_DEPENDENCIES=" \ diff --git a/koko/Dockerfile b/koko/Dockerfile index 3116db8..021769a 100644 --- a/koko/Dockerfile +++ b/koko/Dockerfile @@ -1,5 +1,5 @@ -FROM redis:7.0-bookworm as stage-1 -FROM debian:bookworm-slim as stage-2 +FROM redis:7.0-bookworm AS stage-1 +FROM debian:bookworm-slim AS stage-2 ARG TARGETARCH ARG DEPENDENCIES=" \ diff --git a/lion/Dockerfile b/lion/Dockerfile index 7dd1a1b..1b03875 100644 --- a/lion/Dockerfile +++ b/lion/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:bookworm-slim as stage-1 +FROM debian:bookworm-slim AS stage-1 ARG TARGETARCH ARG DEPENDENCIES=" \ diff --git a/web/Dockerfile b/web/Dockerfile index 7492ee8..d95ac48 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:bookworm-slim as stage-1 +FROM debian:bookworm-slim AS stage-1 ARG TARGETARCH ARG DEPENDENCIES=" \