mirror of
https://github.com/alibaba/higress.git
synced 2026-04-21 20:17:29 +08:00
init infras
This commit is contained in:
17
docker/Dockerfile.higress
Normal file
17
docker/Dockerfile.higress
Normal file
@@ -0,0 +1,17 @@
|
||||
# BASE_DISTRIBUTION is used to switch between the old base distribution and distroless base images
|
||||
ARG BASE_DISTRIBUTION=debug
|
||||
|
||||
# Version is the base image version from the TLD Makefile
|
||||
ARG BASE_VERSION=latest
|
||||
|
||||
ARG HUB
|
||||
|
||||
# The following section is used as base image if BASE_DISTRIBUTION=debug
|
||||
FROM ${HUB}/base:${BASE_VERSION}
|
||||
|
||||
ARG TARGETARCH
|
||||
COPY ${TARGETARCH:-amd64}/higress /usr/local/bin/higress
|
||||
|
||||
USER 1337:1337
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/higress"]
|
||||
Reference in New Issue
Block a user