Skip to content

Commit

Permalink
[no ticket] Update libc dev (#3059)
Browse files Browse the repository at this point in the history
### Time to review: __1 mins__

## Changes proposed

Adds `libc-dev` to the list of packages we update explicitly
  • Loading branch information
coilysiren authored Nov 27, 2024
1 parent 8e91889 commit 1727acb
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions analytics/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,24 @@ FROM python:3.13-slim AS base
RUN pip install --no-cache-dir poetry==1.8.2 --upgrade

RUN apt-get update \
# Remove existing packages before installing their never versions
&& apt-get remove --yes \
build-essential \
libc-dev \
libpq-dev \
postgresql \
wget \
jq \
# Install security updates
# https://pythonspeed.com/articles/security-updates-in-docker/
&& apt-get upgrade --yes \
&& apt-get install --no-install-recommends --yes \
build-essential \
libpq-dev \
postgresql \
wget \
jq \
build-essential \
libc-dev \
libpq-dev \
postgresql \
wget \
jq \
# Reduce the image size by clear apt cached lists
# Complies with https://github.com/codacy/codacy-hadolint/blob/master/codacy-hadolint/docs/description/DL3009.md
&& rm -fr /var/lib/apt/lists/* \
Expand Down

0 comments on commit 1727acb

Please sign in to comment.