huiiz commited on
Commit
1db8857
1 Parent(s): 9f81ae9
Files changed (3) hide show
  1. .gitignore +1 -0
  2. Dockerfile +4 -2
  3. db.py +0 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ venv/
Dockerfile CHANGED
@@ -1,5 +1,7 @@
1
  FROM ubuntu/mysql
2
- # ENV ALLOW_EMPTY_PASSWORD=yes
 
 
3
  RUN apt-get upgrade
4
  RUN apt-get update
5
  # 安装mysql
@@ -9,4 +11,4 @@ RUN apt-get install -y python3 python3-pip
9
  # RUN mysql -u root -p
10
 
11
 
12
- CMD python3 --version
 
1
  FROM ubuntu/mysql
2
+ ENV TZ=UTC
3
+ ENV MYSQL_ROOT_PASSWORD=123456
4
+ ENV MYSQL_ONETIME_PASSWORD=no
5
  RUN apt-get upgrade
6
  RUN apt-get update
7
  # 安装mysql
 
11
  # RUN mysql -u root -p
12
 
13
 
14
+ CMD mysql -V
db.py ADDED
File without changes