2 releases

0.0.2 Jul 24, 2020
0.0.1 Jul 24, 2020

#13 in #exposed

MIT license

16KB
337 lines

rockerize

Dockerize your rust application easily.

It will build (and run) a minimal docker image for your application.

Built with rust.

USAGE

# in your rust project's root,
$ cd /some/where/my-project/

# dockerize and run it,
$ rockerize

# or dockerize it only,
$ rockerize --build-only

# or dockerize it with exposed ports,
$ rockerize --exposed-ports 80 443

# or dockerize it with local files,
$ rockerize --add-files ./config.toml

# or just show the not-so-helpful help message
$ rockerize --help

INSTALL

$ cargo install rockerize

KNOWN ISSUES

  • Not yet usable on platforms other than x64 (eg. armv7, arm64v8, ...) due to the MUSL support issue.

LICENSE

MIT

Dependencies

~1.8–9.5MB
~118K SLoC