Skip to content

Commit e60790f

Browse files
authored
update pysqlflow to use 0.7.0 (#1034)
* update pysqlflow to use 0.7.0 * add apt-get update in build_docker_image.sh
1 parent 2891633 commit e60790f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/build_docker_image.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impyla==0.16.0 \
3838
pyodps==0.8.3 \
3939
jupyter==1.0.0 \
4040
notebook==6.0.0 \
41-
sqlflow==0.6.0 \
41+
sqlflow==0.7.0 \
4242
pre-commit==1.18.3 \
4343
dill==0.3.0 \
4444
shap==0.30.1 \
@@ -75,7 +75,7 @@ chmod +x /usr/local/bin/protoc-gen-grpc-java
7575
# 4. Install mysql without a password prompt
7676
echo 'mysql-server mysql-server/root_password password root' | debconf-set-selections
7777
echo 'mysql-server mysql-server/root_password_again password root' | debconf-set-selections
78-
apt-get install -y mysql-server
78+
apt-get update && apt-get install -y mysql-server
7979
mkdir -p /var/run/mysqld
8080
mkdir -p /var/lib/mysql
8181
chown mysql:mysql /var/run/mysqld
@@ -109,7 +109,7 @@ rm -rf /tmp/hadoop.tar.gz
109109
rm -rf /opt/hadoop-${HADOOP_VERSION}/share/doc
110110

111111
# 9. Install additional dependencies for ElasticDL, ElasticDL CLI, and build testing images
112-
apt-get install -y docker.io sudo
112+
apt-get update && apt-get install -y docker.io sudo
113113
curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.14.0/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
114114
git clone https://github.com/sql-machine-learning/elasticdl.git
115115
cd elasticdl

0 commit comments

Comments
 (0)