mysql: updated test data

This commit is contained in:
Torkel Ödegaard
2017-04-23 13:50:49 +02:00
parent fdc68a8baa
commit 253b8be449
3 changed files with 10 additions and 4 deletions

View File

@@ -11,8 +11,8 @@ ENV MYSQL_DATABASE="testdata" \
RUN apt-get update && apt-get install -y wget && apt-get install unzip
# Fetch NYC Data Set
RUN wget https://data.cityofnewyork.us/download/fpz8-jqf4/application%2Fzip -O /tmp/data.zip && \
unzip -j /tmp/data.zip 311_Service_Requests_from_2011.csv -d /var/lib/mysql-files
RUN wget https://data.cityofnewyork.us/download/57g5-etyj/application%2Fzip -O /tmp/data.zip && \
unzip -j /tmp/data.zip 311_Service_Requests_from_2015.csv -d /var/lib/mysql-files
ADD import_csv.sql /docker-entrypoint-initdb.d/