Browse Source

fix: FromAsCasing keywords

pull/13643/head
吴小白 5 months ago committed by 老广
parent
commit
a509afe24b
  1. 4
      Dockerfile
  2. 4
      Dockerfile-ee

4
Dockerfile

@ -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=" \

4
Dockerfile-ee

@ -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…
Cancel
Save