# syntax=docker/dockerfile:1.4 # SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # The GNU-linked gateway binary is staged at: # deploy/docker/.build/prebuilt-binaries//openshell-gateway # # Distroless Debian provides the glibc runtime required by the binary. ARG GATEWAY_BASE_IMAGE=gcr.io/distroless/cc-debian13:nonroot@sha256:e792ab3d241a468a4fd7519ddbbebe66b49b5f365771716ea688ad40b6c6f1c2 FROM ${GATEWAY_BASE_IMAGE} AS gateway ARG TARGETARCH WORKDIR /app COPY deploy/docker/.build/prebuilt-binaries/${TARGETARCH}/openshell-gateway /usr/local/bin/openshell-gateway USER 1000:1000 EXPOSE 8080 ENTRYPOINT ["/usr/local/bin/openshell-gateway"] CMD ["--bind-address", "0.0.0.0", "--port", "8080"]