An open API service indexing awesome lists of open source software.

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:

Awesome Lists containing this project

README

          

# Docker Library

[![lua](https://github.com/akornatskyy/docker-library/actions/workflows/lua.yml/badge.svg)](https://github.com/akornatskyy/docker-library/actions/workflows/lua.yml) [![node](https://github.com/akornatskyy/docker-library/actions/workflows/node.yml/badge.svg)](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