v0.2.4
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="6c88305e2dc27f49709c2bc2f4025def0b01e91866ef303a17fa205cf988a48c"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.4/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="aca0b1442fde78884f96e3f4b0a34e950109d9cb07b4264a5d3bbb0aff5505e6"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.4/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="3d3fa0a3ff7236d9fa04027210cf2d99b0c023e563617a8b45bbafa7ef0149e3"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.4/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="68472e799b1c686cb3615866c757b5e1824e61488b2227a107bd9f5c19ba3365"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.4/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="6ba5539622f6443748bba952e4f9286c2222c7a6a5da480c99dc87ff9b6a069a"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.4/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="be961a9b8c1417ca0c937650c9912ff2dfc5d7aecf3af0cae0807723d560498d"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.4/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="96c7d1801d1e103277337db23e6b2a9b824447f93845ff4419ee71a33f3026f5"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.4/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="7fe1436bafa36b40be8629f12495d726264ad56a81143e95a35fa17b58eaef0f"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.4/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="0220a3eba851c37a5da21e2c344254d34068a1e71206ee5ffda438170fa1665b"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.4/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="2ef7dae7932c3586fd009e67279fe8bee3977ffbfa87568f5d12895c3e8e1427"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.4/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="6bf0fbf26f0a8cc45a7d37d6d38b308164fd1b8f19c10bc633ff68231a6f3b0d"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.2.4/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