forked from agentgateway/agentgateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.ext
More file actions
27 lines (20 loc) · 878 Bytes
/
Copy pathDockerfile.ext
File metadata and controls
27 lines (20 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
ARG VERSION="latest"
FROM ghcr.io/agentgateway/agentgateway:${VERSION} as source
FROM ghcr.io/astral-sh/uv:0.6.5-debian-slim AS final
COPY --from=source /app/agentgateway /bin/agentgateway
ARG TARGETARCH
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
ca-certificates \
curl \
gnupg \
&& update-ca-certificates \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
&& apt-get update \
&& apt-get install -y nodejs \
&& rm -rf /var/lib/apt/lists/*
RUN uv python install 3.12
ENTRYPOINT ["/bin/agentgateway"]