v0.2.3
Below are easy install instructions by OS and Architecture. As always there are always the standard instructions in the README.md as well.
darwin
386 - darwin
# Export the sha256sum for verification.
$ export DOCKFMT_SHA256="c59a1141fd8f0d9b274f0d2e37987587453362e2232d564627237cd2896e8070"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.3/dockfmt-darwin-386" -o "/usr/local/bin/dockfmt" \
&& echo "${DOCKFMT_SHA256} /usr/local/bin/dockfmt" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/dockfmt"
$ echo "dockfmt installed!"
# Run it!
$ dockfmt -h
amd64 - darwin
# Export the sha256sum for verification.
$ export DOCKFMT_SHA256="76ce75d878e80bcc6555cdb31e85c1a4c2754b319a7fb42a9f6f435e3ecd72e7"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.3/dockfmt-darwin-amd64" -o "/usr/local/bin/dockfmt" \
&& echo "${DOCKFMT_SHA256} /usr/local/bin/dockfmt" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/dockfmt"
$ echo "dockfmt installed!"
# Run it!
$ dockfmt -h
freebsd
386 - freebsd
# Export the sha256sum for verification.
$ export DOCKFMT_SHA256="f5ff3df7afae4a98d5f61d804224fe50941324f50896cb84f344fc274b889248"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.3/dockfmt-freebsd-386" -o "/usr/local/bin/dockfmt" \
&& echo "${DOCKFMT_SHA256} /usr/local/bin/dockfmt" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/dockfmt"
$ echo "dockfmt installed!"
# Run it!
$ dockfmt -h
amd64 - freebsd
# Export the sha256sum for verification.
$ export DOCKFMT_SHA256="78f1b5233e8a03381374d15a68e540044715abe4d825fca8932bd4313649e11b"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.3/dockfmt-freebsd-amd64" -o "/usr/local/bin/dockfmt" \
&& echo "${DOCKFMT_SHA256} /usr/local/bin/dockfmt" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/dockfmt"
$ echo "dockfmt installed!"
# Run it!
$ dockfmt -h
linux
386 - linux
# Export the sha256sum for verification.
$ export DOCKFMT_SHA256="92a470bd3afd1b673684d323451a8684d5e71a6c768d76f09fe957a9be26de76"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.3/dockfmt-linux-386" -o "/usr/local/bin/dockfmt" \
&& echo "${DOCKFMT_SHA256} /usr/local/bin/dockfmt" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/dockfmt"
$ echo "dockfmt installed!"
# Run it!
$ dockfmt -h
amd64 - linux
# Export the sha256sum for verification.
$ export DOCKFMT_SHA256="8164189b34daa3995efee3602b84b4bbcab828d3acc6d042d2f3a24cc0858dbb"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.3/dockfmt-linux-amd64" -o "/usr/local/bin/dockfmt" \
&& echo "${DOCKFMT_SHA256} /usr/local/bin/dockfmt" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/dockfmt"
$ echo "dockfmt installed!"
# Run it!
$ dockfmt -h
arm - linux
# Export the sha256sum for verification.
$ export DOCKFMT_SHA256="a98e21b0559cf425d3e575c13e10cc0849cb8c166647ff9b7e1b650a1c9d5263"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.3/dockfmt-linux-arm" -o "/usr/local/bin/dockfmt" \
&& echo "${DOCKFMT_SHA256} /usr/local/bin/dockfmt" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/dockfmt"
$ echo "dockfmt installed!"
# Run it!
$ dockfmt -h
arm64 - linux
# Export the sha256sum for verification.
$ export DOCKFMT_SHA256="bab02e408f8a7561b54869ce198593f2f686e40c45a4307b1ed2d6486a222145"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.3/dockfmt-linux-arm64" -o "/usr/local/bin/dockfmt" \
&& echo "${DOCKFMT_SHA256} /usr/local/bin/dockfmt" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/dockfmt"
$ echo "dockfmt installed!"
# Run it!
$ dockfmt -h
solaris
amd64 - solaris
# Export the sha256sum for verification.
$ export DOCKFMT_SHA256="72d1f30f20b63e9d3346ef20ada34daf94e4f445a69bfad4ffc3694222aa2d21"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.3/dockfmt-solaris-amd64" -o "/usr/local/bin/dockfmt" \
&& echo "${DOCKFMT_SHA256} /usr/local/bin/dockfmt" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/dockfmt"
$ echo "dockfmt installed!"
# Run it!
$ dockfmt -h
windows
386 - windows
# Export the sha256sum for verification.
$ export DOCKFMT_SHA256="4715c247ed37505c5634cc6adc314e84417f51c2ae6b048de45d9c06a660f12b"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.3/dockfmt-windows-386" -o "/usr/local/bin/dockfmt" \
&& echo "${DOCKFMT_SHA256} /usr/local/bin/dockfmt" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/dockfmt"
$ echo "dockfmt installed!"
# Run it!
$ dockfmt -h
amd64 - windows
# Export the sha256sum for verification.
$ export DOCKFMT_SHA256="1009889957759067f70ef376624510fa066644b0758745cf596e0731500471bf"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.3/dockfmt-windows-amd64" -o "/usr/local/bin/dockfmt" \
&& echo "${DOCKFMT_SHA256} /usr/local/bin/dockfmt" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/dockfmt"
$ echo "dockfmt installed!"
# Run it!
$ dockfmt -h