Add static-root and busybox-root containers
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Elara 2024-03-12 14:50:24 -07:00
parent 57114a0a13
commit 66dbde0979
7 changed files with 41 additions and 1 deletions

5
busybox-root/README.md Normal file
View File

@ -0,0 +1,5 @@
# busybox-root
The [busybox-root image](https://gitea.elara.ws/Elara6331/-/packages/container/busybox-root/latest) is a basic image with the busybox utilities installed.
This image runs as root. See [busybox-root](https://gitea.elara.ws/Elara6331/riscv-docker/src/branch/master/busybox) for a rootless container.

9
busybox-root/apko.yaml Normal file
View File

@ -0,0 +1,9 @@
include: gitea.elara.ws/elara6331/riscv-docker/static-root/apko.yaml@master
contents:
packages:
- busybox
- ssl_client
entrypoint:
command: /bin/sh

3
busybox-root/build.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
set -e
apko publish --sbom=false apko.yaml gitea.elara.ws/elara6331/busybox:latest

View File

@ -1,3 +1,3 @@
# static # busybox
The [busybox image](https://gitea.elara.ws/Elara6331/-/packages/container/busybox/latest) is a basic image with the busybox utilities installed. The [busybox image](https://gitea.elara.ws/Elara6331/-/packages/container/busybox/latest) is a basic image with the busybox utilities installed.

7
static-root/README.md Normal file
View File

@ -0,0 +1,7 @@
# static-root
The [static-root image](https://gitea.elara.ws/Elara6331/-/packages/container/static-root/latest) is a basic image with just enough files to run static binaries. It's meant to be used as a base image and is useless outside of that.
This image will only run static binaries (i.e. Go binaries with `CGO_ENABLED=0`) as it doesn't include musl or glibc
This image runs as root. See [static](https://gitea.elara.ws/Elara6331/riscv-docker/src/branch/master/static) for a rootless container.

13
static-root/apko.yaml Normal file
View File

@ -0,0 +1,13 @@
contents:
repositories:
- https://dl-cdn.alpinelinux.org/alpine/edge/main
packages:
- alpine-baselayout-data
- alpine-release
- ca-certificates-bundle
- tzdata
archs:
- amd64
- arm64
- riscv64

3
static-root/build.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
set -e
apko publish --sbom=false apko.yaml gitea.elara.ws/elara6331/static:latest