Dockerize fails to accept generate and build as flags on linux. Added link to docker-compose.#13
Dockerize fails to accept generate and build as flags on linux. Added link to docker-compose.#13pancsocks wants to merge 1 commit into
Conversation
Also added link to docker-compose.
Codecov Report
@@ Coverage Diff @@
## master #13 +/- ##
=======================================
Coverage 39.49% 39.49%
=======================================
Files 22 22
Lines 433 433
=======================================
Hits 171 171
Misses 262 262Continue to review full report at Codecov.
|
|
Hi @gdfreeman NPM says when you want to run args commands (not flags) to be passed to the script you have to follow this:
As stated here in this StackOverflow answer. Can you share which errors are you having when running the commands on Linux? |
|
Looked into this issue. The commands work as expected on Linux. However would you consider my changes to dockerize.js? I didn't see (maybe i missed) any code that checks for the directory docker/compose. Added directory checking and absolute paths to branch test-dockerize. Everything works as expected except for building. Building the dev containers fails for me because of a python version conflict. apk tries to install version "python2-2.7.15-r2". I believe the docker file want's python=2.7.14-r2. Is there a need for that specific python version? |
Command "npm run dockerize -- generate" and 'npm run dockerize -- build local' failed. Generate and build were not intepreted as flags. The issue with passing -- generate to npm run dockerize may only be linux specific?