Skip to content

Commit

Permalink
chore: updated badges and description.
Browse files Browse the repository at this point in the history
  • Loading branch information
akornatskyy committed Dec 14, 2023
1 parent 0c14ab4 commit 2b234e7
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/images.yml → .github/workflows/lua.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
name: images
name: lua

on:
schedule:
- cron: "10 4 * * 6" # At 04:10 on Saturday.
push:
branches:
- master
paths:
- .github/workflows/lua.yml
- lua/*
- luajit/*
- luarocks/*
- nginx/*

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
branches:
- master
paths:
- .github/workflows/node.yml
- node/*

jobs:
Expand Down
23 changes: 20 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
# Docker Library

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

These images are based on the [Alpine Linux](https://alpinelinux.org/) and
built for `linux/amd64` and `linux/arm64` (except luajit 2.0 and nginx).
[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

```sh
Expand All @@ -20,6 +26,17 @@ docker run -it --rm akorn/lua:5.1-alpine

The LuaRocks images can be used as build containers, see [this example](luarocks/README.md).

The node image is configured to run script 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

0 comments on commit 2b234e7

Please sign in to comment.