Skip to content

Commit d867e60

Browse files
committed
Install vectorscan and consolidate ca-certificates in base
1 parent 9c0c0e3 commit d867e60

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

services/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG GO_VERSION=1.24
77

88
### BASE BUILDER
99
FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS builder
10-
RUN apk add --no-cache git make build-base libpcap-dev
10+
RUN apk add --no-cache git make build-base libpcap-dev vectorscan-dev
1111

1212
WORKDIR /build
1313

@@ -26,6 +26,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
2626

2727
### BASE IMAGE
2828
FROM alpine:${ALPINE_VERSION} AS base
29+
RUN apk add --no-cache ca-certificates vectorscan
2930

3031
### ENRICHER
3132
FROM base AS enricher
@@ -44,15 +45,13 @@ ENTRYPOINT ["./assembler"]
4445

4546
### API
4647
FROM base AS api
47-
RUN apk add --no-cache ca-certificates
4848

4949
WORKDIR /app
5050
COPY --from=builder /build/api ./
5151
ENTRYPOINT ["./api"]
5252

5353
### MCP
5454
FROM base AS mcp
55-
RUN apk add --no-cache ca-certificates
5655

5756
WORKDIR /app
5857
COPY --from=builder /build/mcp ./

0 commit comments

Comments
 (0)