This makes a container as a command line tool from many package management systems. (Apache License)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
commands
lib
.gitignore
Makefile
README.md
flyingwhale.go

README.md

Flying Whale : any package management systems in the container

This makes a container as a command line tool from many package management systems.

what's this?

If you want to use a command (ex: "marked" markdown compiler) without installing nodejs, you type this.

whale npm install marked

You can use it!

marked README.md

Also you can use whale apt-get install and whale yum install too.

how it works

It creates a docker container installed the command by using package managers, and adds a script to call the container into /usr/local/bin/.

#!/bin/sh
# This script was created by flying docker 0.1
docker run -it --rm -v `pwd`:/src --workdir=/src --entrypoint=marked whale-npm-marked $*

install

Available for MacOS and Linux. https://github.com/74th/flyingwhale/releases

supporting package manages

  • whale npm install <package-name>
  • whale yum install <package-name>
  • whale apt-get install <package-name>

License

  • Apache License 2.0