Skip to content

Commit

Permalink
docker: add pkg-config to all dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sapuri committed Aug 28, 2023
1 parent df59239 commit f1163a1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN PIPENV_VENV_IN_PROJECT=1 pipenv install

FROM python:3.11-slim as runner

RUN apt-get update && apt-get -y install --no-install-recommends gcc libmariadb-dev pkg-config ca-certificates
RUN apt-get update && apt-get -y install --no-install-recommends gcc libmariadb-dev ca-certificates

WORKDIR /app
COPY --from=builder /app /app
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile-dev
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.11-slim as builder

RUN apt-get update && apt-get -y install --no-install-recommends gcc libmariadb-dev
RUN apt-get update && apt-get -y install --no-install-recommends gcc libmariadb-dev pkg-config

WORKDIR /app
COPY . ./
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile_export2csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.11-slim as builder

RUN apt-get update && apt-get -y install --no-install-recommends gcc libmariadb-dev
RUN apt-get update && apt-get -y install --no-install-recommends gcc libmariadb-dev pkg-config

WORKDIR /app
COPY Pipfile Pipfile.lock ./
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile_update_music
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.11-slim as builder

RUN apt-get update && apt-get -y install --no-install-recommends gcc libmariadb-dev
RUN apt-get update && apt-get -y install --no-install-recommends gcc libmariadb-dev pkg-config

WORKDIR /app
COPY Pipfile Pipfile.lock ./
Expand Down

0 comments on commit f1163a1

Please sign in to comment.