You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+40-1Lines changed: 40 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,48 @@
2
2
3
3
<imgsrc="docs/lua.png"alt="Lua for Docker"style="zoom:33%;" />
4
4
5
+
A simple `alpine` docker image that includes the Lua runtime as well as [LuaRocks](https://luarocks.org/).
5
6
7
+
## Features
6
8
7
-
A simple `alpine` docker image that includes the Lua runtime as well as [LuaRocks](https://luarocks.org/).
9
+
- Lua 5.4.7 runtime
10
+
- LuaRocks 3.9.2 package manager
11
+
- Based on Alpine Linux for a minimal footprint
12
+
- Container attestation and SBOM support
13
+
14
+
## Available Tags
15
+
16
+
Several version tags are available for flexibility:
17
+
18
+
-`evandarwin/lua:5.4.7` - Specific version (e.g., 5.4.7)
19
+
-`evandarwin/lua:5.4` - Major.Minor version (e.g., 5.4)
20
+
-`evandarwin/lua:5` - Major version only (e.g., 5)
21
+
-`evandarwin/lua:latest` - Latest stable release
22
+
23
+
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.
24
+
25
+
## Docker Image Security
26
+
27
+
This image includes supply chain security features:
28
+
29
+
### Attestations
30
+
31
+
The image build process includes:
32
+
- Docker provenance attestation
33
+
- Software Bill of Materials (SBOM)
34
+
35
+
## Usage
36
+
37
+
```bash
38
+
# Pull a specific version
39
+
docker pull evandarwin/lua:5.4.7
40
+
41
+
# Or use the major.minor version
42
+
docker pull evandarwin/lua:5.4
43
+
44
+
# Run a Lua command
45
+
docker run -it evandarwin/lua:5.4.7 lua -e "print('Hello from Lua!')"
0 commit comments