Skip to content

Commit

Permalink
Remove kafka related packages and perform update and upgrade commands…
Browse files Browse the repository at this point in the history
… for security patches
  • Loading branch information
edmondchuc committed Feb 28, 2024
1 parent 4bbd9b0 commit dc194bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ RUN apk add --no-cache \
bash \
gcc \
libffi-dev \
librdkafka-dev \
musl-dev \
pipx \
python3-dev
Expand All @@ -42,9 +41,10 @@ ENV VIRTUAL_ENV=${VIRTUAL_ENV} \

COPY --from=base ${VIRTUAL_ENV} ${VIRTUAL_ENV}

RUN apk add --no-cache \
bash \
librdkafka
RUN apk update && \
apk upgrade --no-cache && \
apk add --no-cache \
bash

WORKDIR /app
COPY . .
Expand Down

0 comments on commit dc194bc

Please sign in to comment.