Initialize build environment files
This commit is contained in:
commit
e61c2bb6ef
28
Containerfile
Normal file
28
Containerfile
Normal 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
7
aliases.sh
Normal 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
4
build.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
|
||||||
|
podman build --tag code.helloryan.se/creatures/buildenv/combined-amd64-fedora-41:latest .
|
Loading…
x
Reference in New Issue
Block a user