Add static-root and busybox-root containers
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
57114a0a13
commit
66dbde0979
5
busybox-root/README.md
Normal file
5
busybox-root/README.md
Normal 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
9
busybox-root/apko.yaml
Normal 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
3
busybox-root/build.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
apko publish --sbom=false apko.yaml gitea.elara.ws/elara6331/busybox:latest
|
@ -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.
|
||||
|
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
|
Loading…
Reference in New Issue
Block a user