Skip to content

Commit d458393

Browse files
Joystyxxshuchu
andauthored
fix: Install patched libbrotli1 to address DSA-6582-1 (#7096)
Signed-off-by: Joystyxx <[email protected]> Co-authored-by: Shuchu Han <[email protected]>
1 parent 7a84f2a commit d458393

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎go/infra/docker/feature-server/Dockerfile‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ RUN go build -o feast ./go/main.go
3030
# finds a matching glibc.
3131
FROM debian:trixie-slim
3232

33-
# Update the package list and install the ca-certificates package
34-
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates \
33+
# Update the package list, install ca-certificates and libbrotli1 (patched
34+
# version addressing DSA-6582-1).
35+
RUN apt-get update \
36+
&& apt-get install -y --no-install-recommends ca-certificates libbrotli1 \
3537
&& rm -rf /var/lib/apt/lists/*
3638

3739
# Set the current working directory inside the container
@@ -44,4 +46,4 @@ EXPOSE 8080
4446

4547
# Command to run the executable
4648
# Pass arguments to the executable (Ex: ./feast --type=grpc)
47-
CMD ["./feast"]
49+
CMD ["./feast"]

0 commit comments

Comments
 (0)