Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Support audit extension #16

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
FROM golang:1.20 AS builder
FROM golang:1.21 AS builder

WORKDIR /work

COPY .git Makefile go.* *.go /work/
COPY pkg/ /work/pkg/
RUN make bin/audit-forwarder

FROM fluent/fluent-bit:1.9.10
FROM debian:bullseye-20231030-slim

COPY --from=builder /work/bin/audit-forwarder /fluent-bit/bin/
COPY fluent-bit.conf /fluent-bit/etc/
COPY parsers.conf /fluent-bit/etc/
COPY null.conf /fluent-bit/etc/add/
COPY --from=builder /work/bin/audit-forwarder /

ENTRYPOINT ["/fluent-bit/bin/audit-forwarder"]
CMD ["/fluent-bit/bin/audit-forwarder"]
ENTRYPOINT ["/audit-forwarder"]
CMD ["/audit-forwarder"]
32 changes: 0 additions & 32 deletions fluent-bit.conf

This file was deleted.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/metal-stack/audit-forwarder

go 1.20
go 1.21

require (
github.com/go-playground/validator/v10 v10.12.0
Expand Down
Loading
Loading