Install python, node, gulp, npm, express, yarn, php, grunt without installing the required dependencies.
Basically this script installs or uninstalls some common development tools and interpreter as docker commands. It writes some bash files which get symlinked into the /usr/bin directory.
By using docker as environment for the tools and interpreter there are no local dependency conflicts and there is no need to install the software locally on your host system. With replacing this commands even IDEs can get used as if the software would be installed locally.
- Checkout this repository by running following command:
git clone tbd docker-deps
- Change into the directory docker-deps:
cd docker-deps
- For installing run following command
bash setup.sh install
or./setup.sh install
- For uninstalling run following command
bash setup.sh uninstall
or./setup.sh uninstall
Name | Version | Source |
---|---|---|
python | latest | Docker Repo |
node | latest | Docker Repo |
gulp | latest | Dockerfile in dockerfiles/gulp |
npm | latest | Docker Repo |
express | latest | Dockerfile in dockerfiles/express |
yarn | latest | Docker Repo |
php | latest | Docker Repo |
grunt | latest | Dockerfile in dockerfiles/grunt |
Name | Command | Example |
---|---|---|
python | python-docker | python-docker --version |
node | node-docker | node-docker --version |
gulp | gulp-docker | gulp-docker --version |
npm | npm-docker | npm-docker --version |
express | express-docker | express-docker --version |
yarn | yarn-docker | yarn-docker --version |
php | php-docker | php-docker --version |
grunt | grunt-docker | grunt-docker --version |
-
Get a remote image
- Open file "setup.sh"
- Extend LIST-Array like that:
["containername"]=external:imagename[:tag]
- Resulting command name would be:
containername-docker --version
-
Use a custom build image
- Open file "setup.sh"
- Extend LIST-Array like that:
["containername"]=local:dockerfiles/imagename
- Resulting command name would be:
containername-docker --version
- Possible custom configuration to extend tools and interpreter list
- Possible custom configuration of installation path
- Possible custom configuration of command appendix
- Possibility to overwrite existing bins with the docker ones (backup old bins and restore it when commands get uninstalled)
- Compatible to shell
- Compatible to macOS