summaryrefslogtreecommitdiff
path: root/openrc
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-04-12 14:17:42 -0400
committerFreya Murphy <freya@freyacat.org>2025-04-12 14:17:42 -0400
commitc25ea2d5c748e856156b357d46b70874eb37f1c6 (patch)
tree234151944556a921dec69d417d4317960733e6c2 /openrc
parentupdate build (diff)
downloadimages-c25ea2d5c748e856156b357d46b70874eb37f1c6.tar.gz
images-c25ea2d5c748e856156b357d46b70874eb37f1c6.tar.bz2
images-c25ea2d5c748e856156b357d46b70874eb37f1c6.zip
add new builder to openrc
Diffstat (limited to 'openrc')
-rw-r--r--openrc/Dockerfile3
-rwxr-xr-xopenrc/build10
2 files changed, 12 insertions, 1 deletions
diff --git a/openrc/Dockerfile b/openrc/Dockerfile
index 49f32cb..d1f57d9 100644
--- a/openrc/Dockerfile
+++ b/openrc/Dockerfile
@@ -1,4 +1,5 @@
-FROM alpine:3.21
+ARG ALPINE_VERSION="3.21"
+FROM alpine:${ALPINE_VERSION}
# install packages
RUN apk add --no-cache openrc udev-init-scripts-openrc
diff --git a/openrc/build b/openrc/build
new file mode 100755
index 0000000..5f13243
--- /dev/null
+++ b/openrc/build
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+me="$(realpath "$0")"
+dir="$(dirname "$me")"
+. "$dir/../env"
+
+IMAGE=openrc
+
+buildx "$dir" "$@"