Initialize build environment files

This commit is contained in:
R.Y.A.N 2025-03-09 00:19:28 +01:00
commit e61c2bb6ef
Signed by: R.Y.A.N
GPG Key ID: 3BD93EABD1407B82
4 changed files with 43 additions and 0 deletions

28
Containerfile Normal file
View File

@ -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

7
aliases.sh Normal file
View File

@ -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'

4
build.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
#
podman build --tag code.helloryan.se/creatures/buildenv/combined-amd64-fedora-41:latest .

4
create.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
#
toolbox create --image code.helloryan.se/creatures/buildenv/combined-amd64-fedora-41:latest creatures-buildenv