From 9809415f78a604fd1a0868a835f2b67278dfbaa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=90=B4=E5=B0=8F=E7=99=BD?= <296015668@qq.com>
Date: Tue, 9 Jul 2024 09:30:30 +0800
Subject: [PATCH] fix: FromAsCasing keywords

---
 Dockerfile    | 4 ++--
 Dockerfile-ee | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 3bedb6867..06ae03a72 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM debian:bullseye-slim as stage-1
+FROM debian:bullseye-slim AS stage-1
 ARG TARGETARCH
 
 ARG DEPENDENCIES="                    \
@@ -45,7 +45,7 @@ RUN echo > /opt/jumpserver/config.yml \
         sed -i "s@VERSION = .*@VERSION = '${VERSION}'@g" apps/jumpserver/const.py; \
     fi
 
-FROM python:3.11-slim-bullseye as stage-2
+FROM python:3.11-slim-bullseye AS stage-2
 ARG TARGETARCH
 
 ARG BUILD_DEPENDENCIES="              \
diff --git a/Dockerfile-ee b/Dockerfile-ee
index ff29dd4d2..a11bdbd33 100644
--- a/Dockerfile-ee
+++ b/Dockerfile-ee
@@ -1,7 +1,7 @@
 ARG VERSION
 
-FROM registry.fit2cloud.com/jumpserver/xpack:${VERSION} as build-xpack
-FROM python:3.11-slim-bullseye as build-core
+FROM registry.fit2cloud.com/jumpserver/xpack:${VERSION} AS build-xpack
+FROM python:3.11-slim-bullseye AS build-core
 ARG BUILD_DEPENDENCIES="              \
         g++"