Skip to content

Commit

Permalink
在镜像中安装 mysql client, 方便初始化时执行 sql (#2662)
Browse files Browse the repository at this point in the history
* 在镜像中安装 mysql client, 方便初始化时执行 sql

* Update Dockerfile
  • Loading branch information
LeoQuote authored May 22, 2024
1 parent 14fbd5e commit 4ac9fad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ WORKDIR /opt/

RUN useradd nginx
#archery
RUN apt-get install -yq --no-install-recommends nginx \
RUN apt-get update \
&& apt-get install -yq --no-install-recommends nginx mariadb-client \
&& source venv4archery/bin/activate \
&& pip install -r /opt/archery/requirements.txt \
&& pip install "redis>=4.1.0" \
Expand Down

0 comments on commit 4ac9fad

Please sign in to comment.