-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (18 loc) · 930 Bytes
/
Copy pathDockerfile
File metadata and controls
25 lines (18 loc) · 930 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
# syntax=docker/dockerfile:1.4
# Zentinel Transform Agent Container Image
#
# Targets:
# - prebuilt: For CI with pre-built binaries
################################################################################
# Pre-built binary stage (for CI builds)
################################################################################
FROM gcr.io/distroless/cc-debian12:nonroot AS prebuilt
COPY zentinel-transform-agent /zentinel-transform-agent
LABEL org.opencontainers.image.title="Zentinel Transform Agent" \
org.opencontainers.image.description="Zentinel Transform Agent for Zentinel reverse proxy" \
org.opencontainers.image.vendor="Raskell" \
org.opencontainers.image.source="https://github.com/zentinelproxy/zentinel-agent-transform"
ENV RUST_LOG=info,zentinel_agent_transform=debug \
SOCKET_PATH=/var/run/zentinel/transform.sock
USER nonroot:nonroot
ENTRYPOINT ["/zentinel-transform-agent"]