Files

18 lines
295 B
Docker

# Runtime stage
FROM alpine:latest
# Install runtime dependencies
RUN apk add --no-cache ca-certificates
WORKDIR /app
# Copy pre-built binary for the target platform
ARG TARGETARCH
COPY kmsvc-${TARGETARCH} kmsvc
# Make it executable
RUN chmod +x kmsvc
ENTRYPOINT ["./kmsvc"]
CMD ["--help"]