sqitchers / docker-sqitch

Docker Image packaging for Sqitch
MIT License
35 stars 39 forks source link

Snowflake: snowsql not found in docker image on MacOS #15

Closed BorisPerevalov closed 5 years ago

BorisPerevalov commented 5 years ago

Docker image I've built on Mac OS (10.14.5) doesn't work. I can use sqitch status command, but not any command that applies changes (deploy, revert). I've this error: "/Applications/SnowSQL.app/Contents/MacOS/snowsql" failed to start: "No such file or directory"

theory commented 5 years ago

Sounds like you have engine.snowflake.client set in your ~/.sqitch/sqitch.conf file. The sqitch-docker.sh script mounts your home directory, so Sqitch inside the image will read your config there. You don't want Mac-specific config in there when running the Docker image.

BorisPerevalov commented 5 years ago

Exactly! Thank you. I close this issue.