Skip to content

Commit 530d2e4

Browse files
committed
在 Dockerfile 中添加 curl 安装步骤 mysqldump
1 parent d2b0e64 commit 530d2e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mysqldump/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ ARG BASE_FROM=mysql:5.7-debian
66

77
FROM ${BASE_FROM}
88

9+
RUN apt update \
10+
&& apt install -y curl \
11+
&& rm -rf /var/lib/apt/lists/*
912
# RUN apk add --update mysql-client bash && rm -rf /var/cache/apk/*
1013
COPY dump.sh /
1114
COPY import.sh /

0 commit comments

Comments
 (0)