riscv-docker/README.md

30 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2023-07-30 19:19:17 +00:00
# riscv-docker
2023-08-14 03:27:38 +00:00
[![status-badge](https://ci.elara.ws/api/badges/51/status.svg)](https://ci.elara.ws/repos/51)
2023-08-16 20:47:48 +00:00
This repo contains build scripts for custom docker images that I'm using for my cluster. You can find the containers that are automatically built from these in the [Packages](https://gitea.elara.ws/Elara6331/riscv-docker/packages) section of this repo.
2023-07-30 19:19:17 +00:00
The containers are stored on my gitea instance, so you can pull them like this:
```bash
docker pull gitea.elara.ws/elara6331/golang:latest
```
2023-08-01 20:02:55 +00:00
2023-09-28 16:46:33 +00:00
Read my article [here](https://www.elara.ws/articles/riscv-cluster)!
2023-08-01 20:02:55 +00:00
### Images
2023-08-14 02:01:22 +00:00
- `static`: A base image with just enough files to run static binaries
2023-08-16 19:58:44 +00:00
- `busybox`: A base image with the busybox utilities installed
2023-08-01 20:02:55 +00:00
- `golang`: An alpine-based image with Go installed
2023-08-08 21:44:47 +00:00
- `webserver`: A very simple webserver
2023-08-09 06:12:08 +00:00
- `go-import-redirector`: rsc's [go-import-redirector](https://github.com/rsc/go-import-redirector) project
2023-08-16 19:58:44 +00:00
- `node`: An alpine-based image with NodeJS and npm installed
- `crane`: Google's [crane](https://github.com/google/go-containerregistry/tree/main/cmd/crane) project
2023-08-14 02:11:01 +00:00
### Acknowledgements
- [Alpine Linux](https://alpinelinux.org/): The basis of all my images
- [ko](https://ko.build/): Used to build light containers with static Go programs
- [apko](https://github.com/chainguard-dev/apko): Used to build more complex containers