Skip to content

Commit 4ac9fad

Browse files
authored
在镜像中安装 mysql client, 方便初始化时执行 sql (#2662)
* 在镜像中安装 mysql client, 方便初始化时执行 sql * Update Dockerfile
1 parent 14fbd5e commit 4ac9fad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/docker/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ WORKDIR /opt/
77

88
RUN useradd nginx
99
#archery
10-
RUN apt-get install -yq --no-install-recommends nginx \
10+
RUN apt-get update \
11+
&& apt-get install -yq --no-install-recommends nginx mariadb-client \
1112
&& source venv4archery/bin/activate \
1213
&& pip install -r /opt/archery/requirements.txt \
1314
&& pip install "redis>=4.1.0" \

0 commit comments

Comments
 (0)