init
This commit is contained in:
commit
39659b6fd2
5 changed files with 59 additions and 0 deletions
15
BaseCommonImage/Dockerfile
Normal file
15
BaseCommonImage/Dockerfile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Debian13-slim, with node (requiered for some forgejo actions)
|
||||
FROM debian:13-slim
|
||||
ENV NODE_VERSION=20
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
curl ca-certificates gnupg git openssh-client \
|
||||
&& curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - \
|
||||
&& apt-get install -y nodejs \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Sanity check (fail build early)
|
||||
RUN node --version && npm --version && git --version
|
||||
|
||||
CMD ["bash"]
|
||||
|
||||
2
BaseCommonImage/build.sh
Executable file
2
BaseCommonImage/build.sh
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
podman build -t base_cicd:node20-deb13 .
|
||||
22
GoImage/Dockerfile
Normal file
22
GoImage/Dockerfile
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
FROM git.rufous-trench.ts.net/crizomb/forgejo-action-base:deb13-node20
|
||||
# Set Go version
|
||||
ENV GO_VERSION=1.24.1
|
||||
|
||||
# Download and install Go
|
||||
RUN curl -fsSL https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz -o /tmp/go.tar.gz \
|
||||
&& rm -rf /usr/local/go \
|
||||
&& tar -C /usr/local -xzf /tmp/go.tar.gz \
|
||||
&& rm /tmp/go.tar.gz
|
||||
|
||||
# Set Go environment variables
|
||||
ENV PATH="/usr/local/go/bin:${PATH}"
|
||||
ENV GOPATH="/go"
|
||||
|
||||
# Create GOPATH directories
|
||||
RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin ${GOPATH}/pkg
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Verify installation
|
||||
RUN go version
|
||||
17
GoRaylibImage/Dockerfile
Normal file
17
GoRaylibImage/Dockerfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM git.rufous-trench.ts.net/crizomb/forgejo-action-go:deb13-node20-go1.24
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
build-essential \
|
||||
cmake \
|
||||
pkg-config \
|
||||
libx11-dev \
|
||||
libxcursor-dev \
|
||||
libxrandr-dev \
|
||||
libxinerama-dev \
|
||||
libxi-dev \
|
||||
libgl1-mesa-dev \
|
||||
libwayland-dev \
|
||||
libxkbcommon-dev \
|
||||
libasound2-dev \
|
||||
git \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
3
README.md
Normal file
3
README.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Repository to build containers for CI/CD things
|
||||
Images aviable [here](https://git.rufous-trench.ts.net/Crizomb/-/packages)
|
||||
Dockerfiles in folders
|
||||
Loading…
Add table
Add a link
Reference in a new issue