Add static-root and busybox-root containers
This commit is contained in:
7
static-root/README.md
Normal file
7
static-root/README.md
Normal 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
13
static-root/apko.yaml
Normal 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
3
static-root/build.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
apko publish --sbom=false apko.yaml gitea.elara.ws/elara6331/static:latest
|
||||
Reference in New Issue
Block a user