v0.3.0
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="9afed265835ff18c90ea46b2aec8571862501a8c318b715ed385a42efb953cab"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.0/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="9c2342566a2649b4667af763f005552e112665df86fdc4bf9d53c2950b6f1daa"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.0/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="c41a82ffd1d7e64d11a45ff81c54b9cdd9a832d2bd85e798847743bce08c0560"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.0/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="ca58d80139118fa3e81a2ed0aadd66cdb174c3b869f58c8c9d0dfa72b6e08982"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.0/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="ed2fb913dfbfa78914a677957de8baf12974c1ef875da1518371f1d7da02f460"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.0/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="2f54c4afeedc7bac75d63483b45aa1d548e677465589124bdaeadb23a80570fe"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.0/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="24a19be8503fabb0eb28319ad623d923dd8344faa34ead1c89d82def02989eb8"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.0/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="b676f0bf7b022ac1b1ea8a31de93c140f059ed44159fe5544077668d875e941f"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.0/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="57fbf7998c13501d7c03ff517fb46a3c78d6d333f47ae2b1d763bd972d9b57fa"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.0/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="ff6cada4c6a47bd7ab161c042dd803fa15f0bad386367b293ac5ce19fc06710e"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.0/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="6e96b5816ec92d4571403242b2d62d42ded4af1d00c08bd0daec8baaed723d6d"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/dockfmt/releases/download/v0.3.0/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