Skip to content

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 committed Jun 21, 2024
1 parent 6777742 commit 4fe0b98
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 4fe0b98

Please sign in to comment.