Skip to content

Adjust knex-migrator to be in the PATH directly instead of symlinking #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 14, 2017

Conversation

tianon
Copy link
Member

@tianon tianon commented Nov 8, 2017

Closes #103

Thanks @mmornati

@mmornati
Copy link

Welcome ;)
It is my Docker-inspiration... so thank you too.

@SISheogorath
Copy link

When you use npm to execute it, there is no need to symlink or path it.

@mmornati
Copy link

mmornati commented Nov 10, 2017 via email

@SISheogorath
Copy link

I'm not saying installing it, I say running it. Using npm run. Docs go here: https://docs.npmjs.com/cli/run-script

@tianon
Copy link
Member Author

tianon commented Nov 14, 2017

@SISheogorath that'll work for our own usage, but not for folks who've extended this image and want to use knex-migrator* (which have been in PATH until now in every incarnation of the ghost:1 image)

If the knex-migrator* tools were something only our scripts would ever need to execute, I'd be inclined to agree that using npm run ... is simpler. ❤️

@tianon tianon merged commit f7fe8c8 into docker-library:master Nov 14, 2017
@tianon tianon deleted the knex-path branch November 14, 2017 20:37
tianon added a commit to infosiftr/stackbrew that referenced this pull request Nov 15, 2017
- `ghost`: 1.17.2, `knex-migrator` direct in `PATH` (docker-library/ghost#105)
- `mariadb`: 10.1.29, `gosu` 1.10 (MariaDB/mariadb-docker#139)
- `php`: argon2 password hashing in 7.2+ (docker-library/php#521)
- `postgres`: `--xlogdir` -> `--waldir` in 10+ (docker-library/postgres#374)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants