Skip to content

cgmoore120/american_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

American Docker

This docker container allows for ruby to parse a Date using the american_date gem

To build this image

Clone the repo:

git clone git@github.com:cgmoore120/american_docker.git

Then build the container from the root repo directory:

docker build -t cgmoore120/american_date ./

To run this image

This will be a one-and-done run that returns the american formatted date (month/day/year) parameter as year/month/day

docker run cgmoore120/american_date ruby /american_date.rb '01-20-1982'

The date string can be delimited with either a /, space or -

About

My Docker 'Hello World'

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published