Skip to content

Commit

Permalink
Vulnerability fix: CVE-2023-5363 (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksii-Klimov authored Nov 14, 2023
1 parent c009eef commit 4afb0eb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ FROM python:3.11-alpine AS builder

ARG POETRY_VERSION=1.6.1

# Vulnerability fix: CVE-2023-5363
RUN apk update && apk upgrade --no-cache libcrypto3 libssl3

# Install alpine-sdk to compile some langchain dependencies (numexpr, numpy)
RUN apk add --no-cache alpine-sdk

Expand Down Expand Up @@ -32,6 +35,9 @@ ENV PYTHONUNBUFFERED=1

ENV LOG_LEVEL=INFO

# Vulnerability fix: CVE-2023-5363
RUN apk update && apk upgrade --no-cache libcrypto3 libssl3

# Install libstdc++ to run the compiled dependencies
RUN apk add --no-cache libstdc++

Expand Down

0 comments on commit 4afb0eb

Please sign in to comment.