v0.3.1
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="dbaba829339c69c6fa5cf49323b7fc40afb12252bea8aecdaa07d3f169e93871"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.1/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="1da2f50869dbcef59070e8ed7bb37c824bb676678a3b6a71768b19c02bcd42fc"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.1/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="4f7a8d64710d07d1a56ecdd8de478ddb7bdfc6fd6106770ae997a2a289da948a"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.1/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="31e28ece1e2fe59113aad83f3164c47a6f8d26bf2a063b5d6f9c44e4886329b1"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.1/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="28199de8c7c16d7bb139391cc108a7e9cd056bf35f153359eec72857b1151ddd"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.1/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="5267ac6e870b33a4ef9998453546fa875862d5e319bf71cda7875b580bbf4150"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.1/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="80ff856f2b3071c4bc53e12e05de085806ecd5e0f2db37f0d9b13a3fe3d154e7"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.1/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="c8fd4dff52fef0421612df591b10ac268d0f9a145cd38735f501b201766d3c76"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.1/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="671ac3d2c3707829b36bed762fcf8b5d2637370a91298af3cd3db13e739230d6"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.1/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="3be3ca3e6a1dfe1a0160b70120fed5ab8ea81c5819e6633445b658b46ef7ff8a"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.1/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="d78d806cbb6d95dd9e91c7c69ca6021703806f7d8a13b5bcba5ddd5cadb592c6"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.1/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