refactor: remove Debian/DEB packaging, RPM-only support
- Remove all DEB packaging files (packaging/deb/*) - Update Dockerfile.package to build RPM packages only - Update build.sh to remove DEB build steps - Update architecture.yml to reflect RPM-only distribution - Update README.md installation instructions for RPM only - Change runtime image from distroless/base-debian12 to scratch - Clean up obsolete build artifacts in dist/ Supported distributions now: - CentOS 7 (el7) - Rocky Linux 8 (el8) - Rocky Linux 9 (el9) - Rocky Linux 10 (el10) Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
@ -48,7 +48,7 @@ RUN mkdir -p /tmp/runtime-root/var/log/logcorrelator /tmp/runtime-root/var/run/l
|
||||
# =============================================================================
|
||||
# Runtime stage - minimal image for running the service
|
||||
# =============================================================================
|
||||
FROM gcr.io/distroless/base-debian12 AS runtime
|
||||
FROM scratch AS runtime
|
||||
|
||||
# Copy binary from builder
|
||||
COPY --from=builder /usr/bin/logcorrelator /usr/bin/logcorrelator
|
||||
@ -56,7 +56,7 @@ COPY --from=builder /usr/bin/logcorrelator /usr/bin/logcorrelator
|
||||
# Copy example config
|
||||
COPY --from=builder /build/config.example.yml /etc/logcorrelator/logcorrelator.yml
|
||||
|
||||
# Create necessary directories in builder stage (distroless has no shell)
|
||||
# Create necessary directories in builder stage (scratch image has no shell)
|
||||
COPY --from=builder /tmp/runtime-root/var /var
|
||||
COPY --from=builder /tmp/runtime-root/etc /etc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user