You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Change directory and build the binary. Build command is also used to download the dependencies.
RUN cd /app && go build -o capture ./cmd/capture
# Use chainguard/static:latest-glibc as the base image.
# This image is a minimal static image, which is suitable for running Go applications.
FROM chainguard/static:latest-glibc
COPY --from=builder /app/capture /usr/bin/
# Set the default GIN_MODE to release, so that the application runs in production mode. However, this can be overridden by setting the GIN_MODE environment variable.