https://github.com/akornatskyy/docker-library
A collection of various docker images | Updated Weekly :clock4:
https://github.com/akornatskyy/docker-library
docker-library lua luajit luarocks nginx
Last synced: about 1 year ago
JSON representation
A collection of various docker images | Updated Weekly :clock4:
- Host: GitHub
- URL: https://github.com/akornatskyy/docker-library
- Owner: akornatskyy
- Created: 2017-03-27T14:24:52.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-03-18T09:27:04.000Z (about 1 year ago)
- Last Synced: 2025-03-30T10:33:41.591Z (about 1 year ago)
- Topics: docker-library, lua, luajit, luarocks, nginx
- Language: Dockerfile
- Homepage: https://hub.docker.com/u/akorn
- Size: 111 KB
- Stars: 12
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Library
[](https://github.com/akornatskyy/docker-library/actions/workflows/lua.yml) [](https://github.com/akornatskyy/docker-library/actions/workflows/node.yml)
## Images
[Alpine Linux](https://alpinelinux.org/) `linux/amd64` and `linux/arm64`
(except luajit 2.0 and nginx):
- [lua](https://hub.docker.com/r/akorn/lua/) 5.1, 5.2, 5.3, 5.4
- [luajit](https://hub.docker.com/r/akorn/luajit/) 2.0, 2.1, 2.1-edge, 2.1-openresty
- [luarocks](https://hub.docker.com/r/akorn/luarocks/) lua*, luajit*
- [nginx](https://hub.docker.com/r/akorn/nginx/) stable-lua*, stable-luajit*, mainline-lua*, mainline-luajit*
[Debian 12 (bookworm)](https://www.debian.org/) /
[distroless](https://github.com/GoogleContainerTools/distroless)
`linux/amd64` and `linux/arm64`:
- [node](https://nodejs.org/) lts, current
## Examples
### Basic Lua example
```sh
docker run -it --rm akorn/lua:5.1-alpine
```
### Luarocks examples
The LuaRocks images can be used as build containers, see [this example](luarocks/README.md#example-build-container). Or to create a private LuaRocks server, see [this example](luarocks/README.md#example-luarocks-server).
### Node examples
The node image is configured to run scripts directly (the entrypoint is set to
*node*).
```sh
docker run -it --rm akorn/node:21 --version
docker run -it --rm -u nobody akorn/node index.js
docker run -it --rm akorn/node --enable-source-maps index.js
```
## Links
- [Best practices](https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/) for writing Dockerfiles