commit e61c2bb6ef2d6917820573decee094c027d05a83 Author: Ryan Date: Sun Mar 9 00:19:28 2025 +0100 Initialize build environment files diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..6881d2e --- /dev/null +++ b/Containerfile @@ -0,0 +1,28 @@ +FROM fedora:41 + +RUN true \ + && dnf -y update \ + && dnf -y install \ + curl \ + g++ \ + gcc-plugin-devel \ + git \ + glibc-static \ + hostname \ + libstdc++-static \ + make \ + nginx \ + nodejs \ + openssl \ + wget \ + xxd \ + yarnpkg \ + && dnf clean all + +RUN true \ + && mkdir ~/build2-build \ + && cd ~/build2-build \ + && curl -sSfO https://download.build2.org/0.17.0/build2-install-0.17.0.sh \ + && sh build2-install-0.17.0.sh --yes --trust yes \ + && cd / \ + && rm -rf ~/build2-build diff --git a/aliases.sh b/aliases.sh new file mode 100644 index 0000000..378f60f --- /dev/null +++ b/aliases.sh @@ -0,0 +1,7 @@ +# Copy this file to ~/.bashrc./ for some buildenv aliases. +# + +alias b='toolbox run -c creatures-buildenv b' +alias bdep='toolbox run -c creatures-buildenv bdep' +alias bpkg='toolbox run -c creatures-buildenv bpkg' +alias yarn='toolbox run -c creatures-buildenv yarn' diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..8aada0c --- /dev/null +++ b/build.sh @@ -0,0 +1,4 @@ +#!/bin/sh +# + +podman build --tag code.helloryan.se/creatures/buildenv/combined-amd64-fedora-41:latest . diff --git a/create.sh b/create.sh new file mode 100755 index 0000000..4f40b90 --- /dev/null +++ b/create.sh @@ -0,0 +1,4 @@ +#!/bin/sh +# + +toolbox create --image code.helloryan.se/creatures/buildenv/combined-amd64-fedora-41:latest creatures-buildenv