16 Commits

Author SHA1 Message Date
themixedupstuff d127132dca Merge branch 'master' into stable
Build / build (push) Successful in 29m56s
2026-05-15 23:34:04 +03:00
themixedupstuff 9569415083 Find an alternate way to have all dotnet versions in one docker image. 2026-05-15 23:32:36 +03:00
themixedupstuff 8013b451fd Revert "Add .net10 to the build." Stable is back to v1.0.2
This reverts commit e3f052f181.
2026-04-25 15:12:38 +03:00
themixedupstuff c7800f4740 Add deb packages for dotnet 6.0 and 8.0 for the future. 2026-04-25 15:07:38 +03:00
themixedupstuff 5af0afc451 Use the new Debian 13 database for .net
Build / build (push) Failing after 54s
2026-04-14 23:45:13 +03:00
themixedupstuff e3f052f181 Add .net10 to the build.
Build / build (push) Failing after 56s
2026-04-14 22:33:57 +02:00
themixedupstuff d0f5760c7a Add --no-cache to the correct place in the build command.
Build / build (push) Successful in 27m11s
2024-07-23 22:48:53 +03:00
themixedupstuff db4b7e7c46 Add --no-cache to build command.
Build / build (push) Failing after 32s
2024-07-23 22:47:16 +03:00
themixedupstuff 165fd4f7f3 Add the .net 8.0 sdk to the build image.
Build / build (push) Failing after 1m47s
2024-07-23 22:41:38 +03:00
themixedupstuff 518969e2c9 Merge branch 'stable' of https://git.mixedup.dev/ReFuel/docker-cross-compiler into stable
Build / build (push) Successful in 36s
2024-06-20 12:57:36 +03:00
themixedupstuff 3b4d6cee18 Rename additional cmake variable. 2024-06-20 12:45:58 +03:00
themixedupstuff 5901e3e317 Update build_native to honor build options. 2024-06-14 22:11:22 +03:00
themixedupstuff 4107bf9df4 Rebrand as ReFuel.
Build / build (push) Failing after 30s
2024-06-13 20:57:08 +03:00
themixedupstuff fe004342de Reintroduce build essentials into this repository. 2024-06-13 20:49:00 +03:00
themixedupstuff 9eb5f90a2e Merge branch 'stable' of https://git.mixedup.dev/QUIK/docker-cross-compiler into stable
Build / build (push) Successful in 25m12s
2024-03-30 14:34:19 +03:00
themixedupstuff ac01f7f2aa [v1.0] Add automatic build action.
Build / build (push) Successful in 34s
Try adding secrets to the workflow script.

Fix workflow.

Fix typo.

fix docker name conflict.

Removed cmake files from this repository and added node and meson to the apt packages list.

Update .gitea/workflows/build.yaml

node -> nodejs
2024-03-23 11:33:28 +03:00
10 changed files with 35 additions and 15 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
- name: Check repository out. - name: Check repository out.
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Build Docker Image - name: Build Docker Image
run: "docker build -t git.mixedup.dev/refuel/docker-cross-compiler:${{gitea.ref_name}} ." run: "docker build --no-cache -t git.mixedup.dev/refuel/docker-cross-compiler:${{gitea.ref_name}} ."
- name: Upload Docker Image - name: Upload Docker Image
run: "docker push git.mixedup.dev/refuel/docker-cross-compiler:${{gitea.ref_name}}" run: "docker push git.mixedup.dev/refuel/docker-cross-compiler:${{gitea.ref_name}}"
- name: Alias image as latest and push. - name: Alias image as latest and push.
+13 -10
View File
@@ -2,7 +2,7 @@
# packages needed to build this project. # packages needed to build this project.
# #
# As always, debian > ubuntu <3 # As always, debian > ubuntu <3
FROM debian:stable-slim FROM debian:trixie-slim
WORKDIR /root WORKDIR /root
# Set host name. # Set host name.
@@ -13,11 +13,6 @@ RUN echo docker_cross_compiler > /etc/hostname
RUN apt-get update RUN apt-get update
RUN apt-get install -y sudo wget RUN apt-get install -y sudo wget
# Add the .NET package repository to the repository listing.
RUN wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
RUN dpkg -i packages-microsoft-prod.deb
RUN rm packages-microsoft-prod.deb
# APT dependencies. # APT dependencies.
RUN apt-get update RUN apt-get update
RUN apt-get install -y \ RUN apt-get install -y \
@@ -27,21 +22,19 @@ RUN echo docker_cross_compiler > /etc/hostname
clang \ clang \
cpio \ cpio \
curl \ curl \
dotnet-sdk-6.0 \
gcc-arm-linux-gnueabihf \ gcc-arm-linux-gnueabihf \
gcc-aarch64-linux-gnu \ gcc-aarch64-linux-gnu \
gcc-i686-linux-gnu \ gcc-i686-linux-gnu \
git \ git \
libbz2-dev \ libbz2-dev \
libharfbuzz-dev \ libharfbuzz-dev \
liblzma-dev \
libpng-dev \ libpng-dev \
libssl-dev \ libssl-dev \
libxml2-dev \ libxml2-dev \
llvm \ llvm \
lzma-dev \
mingw-w64 \ mingw-w64 \
meson \ meson \
nuget \
ninja-build \ ninja-build \
nodejs \ nodejs \
patch \ patch \
@@ -50,8 +43,19 @@ RUN echo docker_cross_compiler > /etc/hostname
xz-utils \ xz-utils \
zlib1g-dev zlib1g-dev
# Install dotnet 6.0 even if Micro$lop doesn't support it :P
WORKDIR /root/
COPY share/*.tar.gz /root/
RUN mkdir -p /usr/lib64/dotnet
WORKDIR /usr/lib64/dotnet
RUN tar -zxf /root/dotnet-sdk-6.0.428-linux-x64.tar.gz
RUN tar -zxf /root/dotnet-sdk-8.0.421-linux-x64.tar.gz
RUN tar -zxf /root/dotnet-sdk-10.0.300-linux-x64.tar.gz
RUN ln -s /usr/lib64/dotnet/dotnet /usr/local/bin/dotnet
# Clone osxcross # Clone osxcross
# Let's do this later. # Let's do this later.
WORKDIR /root/
RUN git clone --recurse-submodules "https://github.com/tpoechtrager/osxcross.git" osxcross RUN git clone --recurse-submodules "https://github.com/tpoechtrager/osxcross.git" osxcross
# Download packaged SDK from this random github (very safe i know) # Download packaged SDK from this random github (very safe i know)
@@ -74,7 +78,6 @@ RUN echo docker_cross_compiler > /etc/hostname
WORKDIR /home/refuel WORKDIR /home/refuel
# Copy bashrc # Copy bashrc
RUN cp /etc/bash.bashrc ~/.bashrc
COPY sh/bashrc.sh /home/refuel/.bashrc COPY sh/bashrc.sh /home/refuel/.bashrc
# Execute an interactive shell. # Execute an interactive shell.
Regular → Executable
+18
View File
@@ -1,4 +1,22 @@
source /etc/bash.bashrc
# Set location for AppHost lookup
[ -z "$DOTNET_ROOT" ] && export DOTNET_ROOT=/usr/lib64/dotnet
# Add dotnet tools directory to PATH
DOTNET_TOOLS_PATH="$HOME/.dotnet/tools"
case "$PATH" in
*"$DOTNET_TOOLS_PATH"* ) true ;;
* ) PATH="$PATH:$DOTNET_TOOLS_PATH" ;;
esac
# Extract self-contained executables under HOME
# to avoid multi-user issues from using the default '/var/tmp'.
[ -z "$DOTNET_BUNDLE_EXTRACT_BASE_DIR" ] && export DOTNET_BUNDLE_EXTRACT_BASE_DIR="${XDG_CACHE_HOME:-"$HOME"/.cache}/dotnet_bundle_extract"
echo ReFuel Project - Copyright \(C\) 2023 echo ReFuel Project - Copyright \(C\) 2023
echo echo
echo This is an interactive shell for ReFuel build image. echo This is an interactive shell for ReFuel build image.
echo SuperUser \(su/sudo\) commands are enabled without a password. Beware. echo SuperUser \(su/sudo\) commands are enabled without a password. Beware.
+1 -3
View File
@@ -43,11 +43,9 @@ for ARCH in $ARCHS; do
cmake -B $BUILD -S $SRC \ cmake -B $BUILD -S $SRC \
-G Ninja \ -G Ninja \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS=-static-libgcc \
-DCMAKE_CXX_FLAGS=-static-libgcc \
-DCMAKE_INSTALL_PREFIX=$PREFIX \ -DCMAKE_INSTALL_PREFIX=$PREFIX \
-DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN \ -DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN \
$QUIK_ADDITIONAL_CMAKE $REFUEL_ADDITIONAL_CMAKE
# Build and install. # Build and install.
ninja -C $BUILD all ninja -C $BUILD all
Regular → Executable
View File
Regular → Executable
View File
+1
View File
@@ -0,0 +1 @@
**/*.deb -diff
Binary file not shown.
Binary file not shown.
Binary file not shown.