diff --git a/CHANGELOG.md b/CHANGELOG.md index e3b67147..9f6f4729 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,8 @@ Note: we assume that all requires are **pure** with no side effects. It is not r This feature is enabled by default, it can be disabled using `--no-editorconfig`. +- Published StyLua to the [Docker Hub](https://hub.docker.com/r/johnnymorganz/stylua) + ## [0.16.1] - 2023-02-10 ### Fixed diff --git a/README.md b/README.md index 03aacfd5..1b0b2909 100644 --- a/README.md +++ b/README.md @@ -15,14 +15,6 @@ enforcing a consistent code style. There are multiple ways to install StyLua: -### With Docker - -If you are using Docker, the easiest way to install StyLua is: - -``` -COPY --from=JohnnyMorganz/StyLua:0.17.0 /stylua /usr/bin/stylua -``` - ### With Github Releases Pre-built binaries are available on the [GitHub Releases Page](https://github.com/JohnnyMorganz/StyLua/releases). @@ -79,6 +71,16 @@ npx @johnnymorganz/stylua-bin --help StyLua is also available as a WASM library at [@johnnymorganz/stylua](https://www.npmjs.com/package/@johnnymorganz/stylua). It is usable in Node.js, or in the browser (using a bundler). +### Docker + +StyLua is available on the [Docker Hub](https://hub.docker.com/r/johnnymorganz/stylua). + +If you are using Docker, the easiest way to install StyLua is: + +```dockerfile +COPY --from=JohnnyMorganz/StyLua:0.17.0 /stylua /usr/bin/stylua +``` + ### Other Installation Methods - [VSCode Extension](https://marketplace.visualstudio.com/items?itemName=JohnnyMorganz.stylua)