Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
fix: Docker image build
Browse files Browse the repository at this point in the history
Image was missing the pkg-config package, probably due to a recent
upgrade of the mysql python package in the upstream ecommerce repo.
  • Loading branch information
regisb authored and Muhammad Faraz Maqsood committed Oct 15, 2024
1 parent 4193b67 commit 057b1ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/20240621_175315_regis_nightly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- [Bugfix] Fix ecommerce image build, which was failing because of a missing pkg-config apt package. (by @regisb)
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
apt update && \
apt install -y libmysqlclient-dev libssl-dev build-essential \
libsqlite3-dev libffi-dev mime-support
libsqlite3-dev libffi-dev mime-support pkg-config

ARG APP_USER_ID=1000
RUN if [ "$APP_USER_ID" = 0 ]; then echo "app user may not be root" && false; fi
Expand Down

0 comments on commit 057b1ba

Please sign in to comment.