Skip to content

Commit

Permalink
add mysqclient to Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
jangrewe committed May 20, 2024
1 parent c421399 commit 1c52e86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ WORKDIR /app
EXPOSE 3334
RUN apk -U add bash vim ffmpeg postgresql-libs git openjpeg tiff
RUN apk add --virtual .build-deps g++ musl-dev postgresql-dev zlib-dev jpeg-dev libffi-dev openjpeg-dev tiff-dev openblas-dev \
patch curl-dev python3-dev build-base freetype-dev lcms2-dev tk-dev tcl-dev # Needed by /moonraker/scripts/moonraker-requirements.txt
patch curl-dev python3-dev build-base freetype-dev lcms2-dev tk-dev tcl-dev \ # Needed by /moonraker/scripts/moonraker-requirements.txt
gcc musl-dev mariadb-dev # Needed by mysqlclient

# Checkout moonraker and lock the version so that we can use the metadata parser
RUN git clone https://github.com/Arksine/moonraker.git /moonraker
Expand Down
1 change: 1 addition & 0 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ kombu==5.3.2 ; python_version >= '3.8'
matplotlib-inline==0.1.6 ; python_version >= '3.5'
msgpack==1.0.7 ; python_version >= '3.8'
multidict==6.0.4 ; python_version >= '3.7'
mysqlclient==2.2.4
newrelic==9.1.1
nplusone==1.0.0
numpy==1.26.3
Expand Down

0 comments on commit 1c52e86

Please sign in to comment.