|
@@ -21,6 +21,7 @@
|
|
|
# - HIGRESS_VERSION: Version of Higress to use.
|
|
# - HIGRESS_VERSION: Version of Higress to use.
|
|
|
# - HIGRESS_APISERVER_VERSION: Version of Higress API server to use.
|
|
# - HIGRESS_APISERVER_VERSION: Version of Higress API server to use.
|
|
|
ARG PYTHON_VERSION=3.12
|
|
ARG PYTHON_VERSION=3.12
|
|
|
|
|
+ARG REGISTRY_MIRROR=docker.1ms.run
|
|
|
ARG GPUSTACK_BASE_IMAGE=base
|
|
ARG GPUSTACK_BASE_IMAGE=base
|
|
|
ARG GPUSTACK_RUNTIME_ROCM_VERSION=7.0.2
|
|
ARG GPUSTACK_RUNTIME_ROCM_VERSION=7.0.2
|
|
|
ARG GPUSTACK_RUNTIME_DOCKER_MIRRORED_NAME_FILTER_LABELS
|
|
ARG GPUSTACK_RUNTIME_DOCKER_MIRRORED_NAME_FILTER_LABELS
|
|
@@ -35,11 +36,11 @@ ARG GRAFANA_VERSION=12.2.4
|
|
|
# docker build --tag=gpustack/gpustack:base --file=pack/Dockerfile --target=base --progress=plain .
|
|
# docker build --tag=gpustack/gpustack:base --file=pack/Dockerfile --target=base --progress=plain .
|
|
|
#
|
|
#
|
|
|
|
|
|
|
|
-FROM gpustack/mirrored-higress-api-server:${HIGRESS_APISERVER_VERSION} AS apiserver
|
|
|
|
|
-FROM gpustack/mirrored-higress-higress:${HIGRESS_VERSION} AS controller
|
|
|
|
|
-FROM gpustack/mirrored-higress-pilot:${HIGRESS_VERSION} AS pilot
|
|
|
|
|
-FROM gpustack/mirrored-higress-gateway:${HIGRESS_VERSION} AS gateway
|
|
|
|
|
-FROM ubuntu:24.04@sha256:d1e2e92c075e5ca139d51a140fff46f84315c0fdce203eab2807c7e495eff4f9 AS base
|
|
|
|
|
|
|
+FROM ${REGISTRY_MIRROR}/gpustack/mirrored-higress-api-server:${HIGRESS_APISERVER_VERSION} AS apiserver
|
|
|
|
|
+FROM ${REGISTRY_MIRROR}/gpustack/mirrored-higress-higress:${HIGRESS_VERSION} AS controller
|
|
|
|
|
+FROM ${REGISTRY_MIRROR}/gpustack/mirrored-higress-pilot:${HIGRESS_VERSION} AS pilot
|
|
|
|
|
+FROM ${REGISTRY_MIRROR}/gpustack/mirrored-higress-gateway:${HIGRESS_VERSION} AS gateway
|
|
|
|
|
+FROM ${REGISTRY_MIRROR}/library/ubuntu:24.04@sha256:d1e2e92c075e5ca139d51a140fff46f84315c0fdce203eab2807c7e495eff4f9 AS base
|
|
|
SHELL ["/bin/bash", "-eo", "pipefail", "-c"]
|
|
SHELL ["/bin/bash", "-eo", "pipefail", "-c"]
|
|
|
|
|
|
|
|
ARG TARGETPLATFORM
|
|
ARG TARGETPLATFORM
|
|
@@ -301,7 +302,7 @@ ENV S6_KEEP_ENV=1 \
|
|
|
# Vendor ROCm libraries from ROCm base image,
|
|
# Vendor ROCm libraries from ROCm base image,
|
|
|
# now only linux/amd64 is supported.
|
|
# now only linux/amd64 is supported.
|
|
|
# Must build on linux/amd64 platform.
|
|
# Must build on linux/amd64 platform.
|
|
|
-FROM --platform=${BUILDPLATFORM} rocm/dev-ubuntu-22.04:${GPUSTACK_RUNTIME_ROCM_VERSION} AS rocm-base
|
|
|
|
|
|
|
+FROM --platform=${BUILDPLATFORM} ${REGISTRY_MIRROR}/rocm/dev-ubuntu-22.04:${GPUSTACK_RUNTIME_ROCM_VERSION} AS rocm-base
|
|
|
|
|
|
|
|
FROM ${GPUSTACK_BASE_IMAGE} AS gpustack
|
|
FROM ${GPUSTACK_BASE_IMAGE} AS gpustack
|
|
|
SHELL ["/bin/bash", "-eo", "pipefail", "-c"]
|
|
SHELL ["/bin/bash", "-eo", "pipefail", "-c"]
|