forked from rahulbsw/streamforge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.release
More file actions
22 lines (18 loc) · 856 Bytes
/
Copy pathDockerfile.release
File metadata and controls
22 lines (18 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Release Dockerfile — copies pre-built binary into minimal Chainguard runtime image.
# No compilation; the binary is built natively by the CI binary release jobs.
# Build context must contain: streamforge-linux-amd64 and streamforge-linux-arm64
FROM cgr.dev/chainguard/wolfi-base AS runtime
# Install only runtime libraries that streamforge links against dynamically
RUN apk add --no-cache \
openssl \
cyrus-sasl \
libzstd1 \
libcurl4
LABEL org.opencontainers.image.source="https://github.com/rahulbsw/streamforge"
LABEL org.opencontainers.image.description="High-performance Kafka streaming toolkit"
LABEL org.opencontainers.image.licenses="Apache-2.0"
ARG TARGETARCH
COPY streamforge-linux-${TARGETARCH} /usr/local/bin/streamforge
RUN chmod +x /usr/local/bin/streamforge
ENV RUST_LOG=info
ENTRYPOINT ["/usr/local/bin/streamforge"]