mbucc / shmig

Database migration tool written in BASH.
BSD 3-Clause "New" or "Revised" License
458 stars 49 forks source link

Dockerfile: Multiple env vars set with ENV need `=` #22

Closed rgmccaw closed 7 years ago

rgmccaw commented 7 years ago

Currently the docker image does not properly set the ENV vars. It sets one var TYPE as follows

TYPE=mysql     HOST localhost     PORT 3389     DATABASE db     LOGIN root     PASSWORD root     ASK_PASSWORD0 0     MIGRATIONS /sql     MYSQL /usr/bin/mysql     PSQL /usr/bin/psql     SQLITE3 /usr/bin/sqlite3     UP_MARK ====  UP  ====     DOWN_MARK ==== DOWN ====     COLOR auto     SCHEMA_TABLE shmig_version

As stated in the Dockerfile reference In order to set multiple variables at one time you need to use the form ENV <key>=<value> ...

mbucc commented 7 years ago

Ouch. Thanks.