Skip to content

Automate tool sub-command to create a docker image for Rocket Project and build/publish them using Alpine OS.

License

Notifications You must be signed in to change notification settings

Gary-Ascuy/cargo-rocket-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cargo Rocket Docker

Automate tool sub-command to create a docker image for Rocket Project and build/publish them using Alpine OS.

References

Development Setup

Software Requirements

  • Rust Nightly Version
  • Docker Latest

Install into Environment

One-Time Install from Repo

$ cargo install --path . 

Development Mode ( Execute Install after each update)

$ cargo watch -x "install --path ."

Check

$ cargo docker --help

Manual Tests ( WIP: Unit Tests )

# Clone Test Repository
$ git clone https://github.com/Gary-Ascuy/rust-rest-api.git
$ cd rust-rest-api

# Basic Commands
$ cargo docker --build
$ cargo docker --push

# All-In-One Commands
$ cargo docker --build --push
$ cargo docker --all

# Eject Dockerfile && .dockerignore files
$ cargo docker --eject

Docker Image

garyascuy/cargo-rocket-example:1.0.0
OS/ARCH: linux/amd64
SIZE: 4.31 MB
LAST PUSHED: 12 minutes ago by garyascuy

About

Created by Gary Ascuy and Follow me in LinkedIn or GitHub if you want :P.

About

Automate tool sub-command to create a docker image for Rocket Project and build/publish them using Alpine OS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published