mirror of https://github.com/jumpserver/jumpserver
fix: FromAsCasing keywords
parent
02fc045370
commit
9809415f78
|
@ -1,4 +1,4 @@
|
||||||
FROM debian:bullseye-slim as stage-1
|
FROM debian:bullseye-slim AS stage-1
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
ARG DEPENDENCIES=" \
|
ARG DEPENDENCIES=" \
|
||||||
|
@ -45,7 +45,7 @@ RUN echo > /opt/jumpserver/config.yml \
|
||||||
sed -i "s@VERSION = .*@VERSION = '${VERSION}'@g" apps/jumpserver/const.py; \
|
sed -i "s@VERSION = .*@VERSION = '${VERSION}'@g" apps/jumpserver/const.py; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
FROM python:3.11-slim-bullseye as stage-2
|
FROM python:3.11-slim-bullseye AS stage-2
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
ARG BUILD_DEPENDENCIES=" \
|
ARG BUILD_DEPENDENCIES=" \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
|
|
||||||
FROM registry.fit2cloud.com/jumpserver/xpack:${VERSION} as build-xpack
|
FROM registry.fit2cloud.com/jumpserver/xpack:${VERSION} AS build-xpack
|
||||||
FROM python:3.11-slim-bullseye as build-core
|
FROM python:3.11-slim-bullseye AS build-core
|
||||||
ARG BUILD_DEPENDENCIES=" \
|
ARG BUILD_DEPENDENCIES=" \
|
||||||
g++"
|
g++"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue