Skip to content

Commit 119e030

Browse files
committed
add Dockerfile
0 parents  commit 119e030

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docker/Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM ubuntu:20.04
2+
3+
ENV DEBIAN_FRONTEND=noninteractive
4+
ENV _UBUNTU_VERSION=20.04
5+
ENV _MYSQL_SHELL_VERSION=8.0.23
6+
7+
RUN apt update \
8+
&& apt install -y curl python3 \
9+
&& curl -sL -o /tmp/mysql-shell.deb https://dev.mysql.com/get/Downloads/MySQL-Shell/mysql-shell_${_MYSQL_SHELL_VERSION}-1ubuntu${_UBUNTU_VERSION}_amd64.deb \
10+
&& apt install -y /tmp/mysql-shell.deb \
11+
&& rm -rf /tmp/*.deb \
12+
&& rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)