Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/htr3n/alpine-tini
Alpine Docker image plus tini
https://github.com/htr3n/alpine-tini
alpine alpine-linux docker docker-image tini
Last synced: 9 days ago
JSON representation
Alpine Docker image plus tini
- Host: GitHub
- URL: https://github.com/htr3n/alpine-tini
- Owner: htr3n
- License: mit
- Created: 2022-05-14T23:56:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-07T22:48:54.000Z (about 1 year ago)
- Last Synced: 2024-11-10T20:20:14.555Z (2 months ago)
- Topics: alpine, alpine-linux, docker, docker-image, tini
- Language: Dockerfile
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - htr3n/alpine-tini - Alpine Docker image plus tini (docker)
README
# Alpine Docker with tini
[Alpine Linux](https://www.alpinelinux.org/) is a lightweight distribution that uses `BusyBox` and `musl` as the base system. As such, the base Alpine Docker image is very small, roughly 5.6MB, and only contains the bare minimum to get up and running.
This image is based on the base [Alpine docker image](https://hub.docker.com/r/library/alpine) plus [`tini`](https://github.com/krallin/tini) for better signal handling.
## Build a new image
Build with the default Alpine version 3.
```sh
docker build --rm --tag=alpine-tini .
```Build with a specific Alpine version:
```sh
docker build --build-arg="ALPINE_VERSION=3.18" --rm --tag=alpine-tini .
```## Start a new container from the image
```sh
docker run -it --rm alpine-tini /bin/sh
```## Derive a new Docker image
```Dockerfile
FROM alpine-tiniRUN ...
CMD [...]
```