A simple alpine docker image that includes the Lua runtime as well as LuaRocks.
- Multiple Lua versions (5.1.4, 5.2.3, 5.3.4, 5.4.7)
- LuaRocks 3.11.1 package manager
- Based on Alpine Linux for a minimal footprint
- Container attestation and SBOM support
- Available on both Docker Hub and GitHub Container Registry (ghcr.io)
Several version tags are available for flexibility on both Docker Hub and GitHub Container Registry:
evandarwin/lua:5.4.7- Specific versionevandarwin/lua:5.4- Major.Minor versionevandarwin/lua:5- Major version onlyevandarwin/lua:latest- Latest stable release
evandarwin/lua:5.3.4- Specific versionevandarwin/lua:5.3- Major.Minor version
evandarwin/lua:5.2.3- Specific versionevandarwin/lua:5.2- Major.Minor version
evandarwin/lua:5.1.4- Specific versionevandarwin/lua:5.1- Major.Minor version
The same version tags are available on GitHub Container Registry with the ghcr.io/evandarwin prefix:
ghcr.io/evandarwin/lua:5.4.7- Specific versionghcr.io/evandarwin/lua:5.4- Major.Minor versionghcr.io/evandarwin/lua:5- Major version onlyghcr.io/evandarwin/lua:latest- Latest stable release
We recommend using the specific version tag for production environments to ensure stability, while the less specific tags can be used for development or when you want to automatically get updates.
This image includes supply chain security features:
The image build process includes:
- Docker provenance attestation (for both Docker Hub and GitHub Container Registry images)
- Software Bill of Materials (SBOM)
# Pull a specific version from Docker Hub
docker pull evandarwin/lua:5.4.7
# Or use the major.minor version
docker pull evandarwin/lua:5.4
# From GitHub Container Registry
docker pull ghcr.io/evandarwin/lua:5.4.7
# Run a Lua command
docker run -it evandarwin/lua:5.4.7 lua -e "print('Hello from Lua!')"
# Or use the GitHub Container Registry version
docker run -it ghcr.io/evandarwin/lua:5.4.7 lua -e "print('Hello from Lua!')"Have fun!
This code is licensed under the MIT license, see the LICENSE file for details.
