Skip to content

Commit

Permalink
enable kafka tags
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Liu <[email protected]>
  • Loading branch information
skeeey committed Dec 24, 2024
1 parent b5c9ed3 commit 75c62d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Containerfile.rhtap
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ COPY . $SOURCE_DIR

ENV GOEXPERIMENT=strictfipsruntime
ENV CGO_ENABLED=1
RUN make binary BUILD_OPTS="-tags strictfipsruntime"
# Note: kafka tag is required
RUN make binary BUILD_OPTS="-tags strictfipsruntime,kafka"

FROM registry.access.redhat.com/ubi9/ubi-minimal:latest

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR $SOURCE_DIR
COPY . $SOURCE_DIR

ENV GOFLAGS=""
RUN make binary
RUN make binary BUILD_OPTS="-tags kafka"

FROM registry.access.redhat.com/ubi9/ubi-minimal:latest

Expand Down

0 comments on commit 75c62d6

Please sign in to comment.