Minimal, automated, and up-to-date Docker images for different Lua and LuaJIT versions.
Provides variants for:
- Debian, Alpine, and Ubuntu base images
- With LuaRocks
- LuaJIT
- LuaJIT built with Lua 5.2 compatibility mode
This repo provides the source for both Lua and LuaJIT images. The different images can be found at:
nickblah/lua
: Lua images.nickblah/luajit
: LuaJIT images.
New versions of Lua, LuaJIT, and LuaRocks should automatically be detected and trigger new docker images to built, tagged, and pushed by a daily GitHub Actions workflow.
5
,5-bookworm
,5-debian
,5.4
,5.4-bookworm
,5.4-debian
,5.4.6
,5.4.6-bookworm
,5.4.6-debian
,debian
,latest
: lua-5.4/bookworm/Dockerfile5-bullseye
,5.4-bullseye
,5.4.6-bullseye
: lua-5.4/bullseye/Dockerfile5-luarocks
,5-luarocks-bookworm
,5-luarocks-debian
,5.4-luarocks
,5.4-luarocks-bookworm
,5.4-luarocks-debian
,5.4.6-luarocks
,5.4.6-luarocks-bookworm
,5.4.6-luarocks-debian
,luarocks
,luarocks-debian
: lua-5.4/luarocks-bookworm/Dockerfile5-luarocks-bullseye
,5.4-luarocks-bullseye
,5.4.6-luarocks-bullseye
: lua-5.4/luarocks-bullseye/Dockerfile5-alpine
,5-alpine3
,5-alpine3.20
,5.4-alpine
,5.4-alpine3.20
,5.4.6-alpine
,5.4.6-alpine3
,5.4.6-alpine3.20
,alpine
: lua-5.4/alpine3.20/Dockerfile5-alpine3.19
,5.4-alpine3.19
,5.4.6-alpine3.19
: lua-5.4/alpine3.19/Dockerfile5-luarocks-alpine
,5-luarocks-alpine3
,5-luarocks-alpine3.20
,5.4-luarocks-alpine
,5.4-luarocks-alpine3.20
,5.4.6-luarocks-alpine
,5.4.6-luarocks-alpine3
,5.4.6-luarocks-alpine3.20
,luarocks-alpine
: lua-5.4/luarocks-alpine3.20/Dockerfile5-luarocks-alpine3.19
,5.4-luarocks-alpine3.19
,5.4.6-luarocks-alpine3.19
: lua-5.4/luarocks-alpine3.19/Dockerfile5-noble
,5-ubuntu
,5.4-noble
,5.4-ubuntu
,5.4.6-noble
,5.4.6-ubuntu
,ubuntu
: lua-5.4/noble/Dockerfile5-mantic
,5.4-mantic
,5.4.6-mantic
: lua-5.4/mantic/Dockerfile5-luarocks-noble
,5-luarocks-ubuntu
,5.4-luarocks-noble
,5.4-luarocks-ubuntu
,5.4.6-luarocks-noble
,5.4.6-luarocks-ubuntu
,luarocks-ubuntu
: lua-5.4/luarocks-noble/Dockerfile5-luarocks-mantic
,5.4-luarocks-mantic
,5.4.6-luarocks-mantic
: lua-5.4/luarocks-mantic/Dockerfile5.3
,5.3-bookworm
,5.3-debian
,5.3.6
,5.3.6-bookworm
,5.3.6-debian
: lua-5.3/bookworm/Dockerfile5.3-bullseye
,5.3.6-bullseye
: lua-5.3/bullseye/Dockerfile5.3-luarocks
,5.3-luarocks-bookworm
,5.3-luarocks-debian
,5.3.6-luarocks
,5.3.6-luarocks-bookworm
,5.3.6-luarocks-debian
: lua-5.3/luarocks-bookworm/Dockerfile5.3-luarocks-bullseye
,5.3.6-luarocks-bullseye
: lua-5.3/luarocks-bullseye/Dockerfile5-alpine3
,5.3-alpine
,5.3-alpine3.20
,5.3.6-alpine
,5.3.6-alpine3
,5.3.6-alpine3.20
: lua-5.3/alpine3.20/Dockerfile5.3-alpine3.19
,5.3.6-alpine3.19
: lua-5.3/alpine3.19/Dockerfile5-luarocks-alpine3
,5.3-luarocks-alpine
,5.3-luarocks-alpine3.20
,5.3.6-luarocks-alpine
,5.3.6-luarocks-alpine3
,5.3.6-luarocks-alpine3.20
: lua-5.3/luarocks-alpine3.20/Dockerfile5.3-luarocks-alpine3.19
,5.3.6-luarocks-alpine3.19
: lua-5.3/luarocks-alpine3.19/Dockerfile5.3-noble
,5.3-ubuntu
,5.3.6-noble
,5.3.6-ubuntu
: lua-5.3/noble/Dockerfile5.3-mantic
,5.3.6-mantic
: lua-5.3/mantic/Dockerfile5.3-luarocks-noble
,5.3-luarocks-ubuntu
,5.3.6-luarocks-noble
,5.3.6-luarocks-ubuntu
: lua-5.3/luarocks-noble/Dockerfile5.3-luarocks-mantic
,5.3.6-luarocks-mantic
: lua-5.3/luarocks-mantic/Dockerfile5.2
,5.2-bookworm
,5.2-debian
,5.2.4
,5.2.4-bookworm
,5.2.4-debian
: lua-5.2/bookworm/Dockerfile5.2-bullseye
,5.2.4-bullseye
: lua-5.2/bullseye/Dockerfile5.2-luarocks
,5.2-luarocks-bookworm
,5.2-luarocks-debian
,5.2.4-luarocks
,5.2.4-luarocks-bookworm
,5.2.4-luarocks-debian
: lua-5.2/luarocks-bookworm/Dockerfile5.2-luarocks-bullseye
,5.2.4-luarocks-bullseye
: lua-5.2/luarocks-bullseye/Dockerfile5-alpine3
,5.2-alpine
,5.2-alpine3.20
,5.2.4-alpine
,5.2.4-alpine3
,5.2.4-alpine3.20
: lua-5.2/alpine3.20/Dockerfile5.2-alpine3.19
,5.2.4-alpine3.19
: lua-5.2/alpine3.19/Dockerfile5-luarocks-alpine3
,5.2-luarocks-alpine
,5.2-luarocks-alpine3.20
,5.2.4-luarocks-alpine
,5.2.4-luarocks-alpine3
,5.2.4-luarocks-alpine3.20
: lua-5.2/luarocks-alpine3.20/Dockerfile5.2-luarocks-alpine3.19
,5.2.4-luarocks-alpine3.19
: lua-5.2/luarocks-alpine3.19/Dockerfile5.2-noble
,5.2-ubuntu
,5.2.4-noble
,5.2.4-ubuntu
: lua-5.2/noble/Dockerfile5.2-mantic
,5.2.4-mantic
: lua-5.2/mantic/Dockerfile5.2-luarocks-noble
,5.2-luarocks-ubuntu
,5.2.4-luarocks-noble
,5.2.4-luarocks-ubuntu
: lua-5.2/luarocks-noble/Dockerfile5.2-luarocks-mantic
,5.2.4-luarocks-mantic
: lua-5.2/luarocks-mantic/Dockerfile
2
,2-bookworm
,2-debian
,2.1
,2.1-bookworm
,2.1-debian
,2.1.1716656478
,2.1.1716656478-bookworm
,2.1.1716656478-debian
,debian
,latest
: luajit-2.1/bookworm/Dockerfile2-bullseye
,2.1-bullseye
,2.1.1716656478-bullseye
: luajit-2.1/bullseye/Dockerfile2-luarocks
,2-luarocks-bookworm
,2-luarocks-debian
,2.1-luarocks
,2.1-luarocks-bookworm
,2.1-luarocks-debian
,2.1.1716656478-luarocks
,2.1.1716656478-luarocks-bookworm
,2.1.1716656478-luarocks-debian
,luarocks
,luarocks-debian
: luajit-2.1/luarocks-bookworm/Dockerfile2-luarocks-bullseye
,2.1-luarocks-bullseye
,2.1.1716656478-luarocks-bullseye
: luajit-2.1/luarocks-bullseye/Dockerfile2-lua52compat
,2-lua52compat-bookworm
,2-lua52compat-debian
,2.1-lua52compat
,2.1-lua52compat-bookworm
,2.1-lua52compat-debian
,2.1.1716656478-lua52compat
,2.1.1716656478-lua52compat-bookworm
,2.1.1716656478-lua52compat-debian
,lua52compat
,lua52compat-debian
: luajit-2.1/lua52compat-bookworm/Dockerfile2-lua52compat-bullseye
,2.1-lua52compat-bullseye
,2.1.1716656478-lua52compat-bullseye
: luajit-2.1/lua52compat-bullseye/Dockerfile2-lua52compat-luarocks
,2-lua52compat-luarocks-bookworm
,2-lua52compat-luarocks-debian
,2.1-lua52compat-luarocks
,2.1-lua52compat-luarocks-bookworm
,2.1-lua52compat-luarocks-debian
,2.1.1716656478-lua52compat-luarocks
,2.1.1716656478-lua52compat-luarocks-bookworm
,2.1.1716656478-lua52compat-luarocks-debian
,lua52compat-luarocks
,lua52compat-luarocks-debian
: luajit-2.1/lua52compat-luarocks-bookworm/Dockerfile2-lua52compat-luarocks-bullseye
,2.1-lua52compat-luarocks-bullseye
,2.1.1716656478-lua52compat-luarocks-bullseye
: luajit-2.1/lua52compat-luarocks-bullseye/Dockerfile2-alpine
,2-alpine3
,2-alpine3.20
,2.1-alpine
,2.1-alpine3.20
,2.1.1716656478-alpine
,2.1.1716656478-alpine3
,2.1.1716656478-alpine3.20
,alpine
: luajit-2.1/alpine3.20/Dockerfile2-alpine3.19
,2.1-alpine3.19
,2.1.1716656478-alpine3.19
: luajit-2.1/alpine3.19/Dockerfile2-luarocks-alpine
,2-luarocks-alpine3
,2-luarocks-alpine3.20
,2.1-luarocks-alpine
,2.1-luarocks-alpine3.20
,2.1.1716656478-luarocks-alpine
,2.1.1716656478-luarocks-alpine3
,2.1.1716656478-luarocks-alpine3.20
,luarocks-alpine
: luajit-2.1/luarocks-alpine3.20/Dockerfile2-luarocks-alpine3.19
,2.1-luarocks-alpine3.19
,2.1.1716656478-luarocks-alpine3.19
: luajit-2.1/luarocks-alpine3.19/Dockerfile2-lua52compat-alpine
,2-lua52compat-alpine3
,2-lua52compat-alpine3.20
,2.1-lua52compat-alpine
,2.1-lua52compat-alpine3.20
,2.1.1716656478-lua52compat-alpine
,2.1.1716656478-lua52compat-alpine3
,2.1.1716656478-lua52compat-alpine3.20
,lua52compat-alpine
: luajit-2.1/lua52compat-alpine3.20/Dockerfile2-lua52compat-alpine3.19
,2.1-lua52compat-alpine3.19
,2.1.1716656478-lua52compat-alpine3.19
: luajit-2.1/lua52compat-alpine3.19/Dockerfile2-lua52compat-luarocks-alpine
,2-lua52compat-luarocks-alpine3
,2-lua52compat-luarocks-alpine3.20
,2.1-lua52compat-luarocks-alpine
,2.1-lua52compat-luarocks-alpine3.20
,2.1.1716656478-lua52compat-luarocks-alpine
,2.1.1716656478-lua52compat-luarocks-alpine3
,2.1.1716656478-lua52compat-luarocks-alpine3.20
,lua52compat-luarocks-alpine
: luajit-2.1/lua52compat-luarocks-alpine3.20/Dockerfile2-lua52compat-luarocks-alpine3.19
,2.1-lua52compat-luarocks-alpine3.19
,2.1.1716656478-lua52compat-luarocks-alpine3.19
: luajit-2.1/lua52compat-luarocks-alpine3.19/Dockerfile2-noble
,2-ubuntu
,2.1-noble
,2.1-ubuntu
,2.1.1716656478-noble
,2.1.1716656478-ubuntu
,ubuntu
: luajit-2.1/noble/Dockerfile2-mantic
,2.1-mantic
,2.1.1716656478-mantic
: luajit-2.1/mantic/Dockerfile2-luarocks-noble
,2-luarocks-ubuntu
,2.1-luarocks-noble
,2.1-luarocks-ubuntu
,2.1.1716656478-luarocks-noble
,2.1.1716656478-luarocks-ubuntu
,luarocks-ubuntu
: luajit-2.1/luarocks-noble/Dockerfile2-luarocks-mantic
,2.1-luarocks-mantic
,2.1.1716656478-luarocks-mantic
: luajit-2.1/luarocks-mantic/Dockerfile2-lua52compat-noble
,2-lua52compat-ubuntu
,2.1-lua52compat-noble
,2.1-lua52compat-ubuntu
,2.1.1716656478-lua52compat-noble
,2.1.1716656478-lua52compat-ubuntu
,lua52compat-ubuntu
: luajit-2.1/lua52compat-noble/Dockerfile2-lua52compat-mantic
,2.1-lua52compat-mantic
,2.1.1716656478-lua52compat-mantic
: luajit-2.1/lua52compat-mantic/Dockerfile2-lua52compat-luarocks-noble
,2-lua52compat-luarocks-ubuntu
,2.1-lua52compat-luarocks-noble
,2.1-lua52compat-luarocks-ubuntu
,2.1.1716656478-lua52compat-luarocks-noble
,2.1.1716656478-lua52compat-luarocks-ubuntu
,lua52compat-luarocks-ubuntu
: luajit-2.1/lua52compat-luarocks-noble/Dockerfile2-lua52compat-luarocks-mantic
,2.1-lua52compat-luarocks-mantic
,2.1.1716656478-lua52compat-luarocks-mantic
: luajit-2.1/lua52compat-luarocks-mantic/Dockerfile
The default Lua image. Provides Lua. Uses Debian Linux for base image.
Provides Lua. Uses Alpine Linux for base image.
Provides Lua and LuaRocks. Uses Debian Linux for base image.
Provides Lua and LuaRocks. Uses Alpine Linux for base image.
The default LuaJIT image. Provides LuaJIT. Uses Debian Linux for base image.
Provides LuaJIT. Uses Alpine Linux for base image.
Provides LuaJIT and LuaRocks. Uses Debian Linux for base image.
Provides LuaJIT and LuaRocks. Uses Alpine Linux for base image.
Provides LuaJIT. LuaJIT compiled with LUAJIT_ENABLE_LUA52COMPAT
. Uses Debian Linux for base image.
Provides LuaJIT. LuaJIT compiled with LUAJIT_ENABLE_LUA52COMPAT
. Uses Alpine Linux for base image.
Provides LuaJIT and LuaRocks. LuaJIT compiled with LUAJIT_ENABLE_LUA52COMPAT
. Uses Debian Linux for base image.
Provides LuaJIT and LuaRocks. LuaJIT compiled with LUAJIT_ENABLE_LUA52COMPAT
. Uses Alpine Linux for base image.
These base images are minimal, so they only contain the necessary dependencies for running Lua and installing pure-Lua LuaRocks modules. If you need to install LuaRocks modules that include C extensions or need compiling/building, then you'll first need to install the necessary dependencies (for example, make, gcc, etc). The exact dependencies may vary depending on the module's requirements, but to install basic build dependencies, the following installation commands can be used:
- For Debian based images:
apt-get update && apt-get install -y build-essential
- For Alpine based images:
apk add --no-cache build-base