aboutsummaryrefslogtreecommitdiff
path: root/Containerfile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-02-01 19:49:49 +0100
committerlonkaars <loek@pipeframe.xyz>2024-02-01 19:49:49 +0100
commita9383e658ed69023b3d621dc08f1c073621d1ff1 (patch)
treedc9f15fb531be5d4e02b6c1d3624273347557ddc /Containerfile
initial commit
Diffstat (limited to 'Containerfile')
-rw-r--r--Containerfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Containerfile b/Containerfile
new file mode 100644
index 0000000..5b98b10
--- /dev/null
+++ b/Containerfile
@@ -0,0 +1,18 @@
+from ghcr.io/void-linux/void-glibc-full
+
+# update package manager (needs to be separate)
+run xbps-install -Syu xbps
+# update entire system
+run xbps-install -Syu
+
+# packages (in separate steps to optimize caching)
+run xbps-install -Sy cross-arm-linux-gnueabihf
+run xbps-install -Sy make
+run xbps-install -Sy git
+run xbps-install -Sy gcc
+run xbps-install -Sy flex
+run xbps-install -Sy openssl-devel
+
+# container directory on which the working directory on host is mounted
+workdir /workdir
+