Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d127132dca | |||
| 9569415083 | |||
| 8013b451fd | |||
| c7800f4740 | |||
| 5af0afc451 | |||
| e3f052f181 |
+13
-11
@@ -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,22 +22,19 @@ RUN echo docker_cross_compiler > /etc/hostname
|
|||||||
clang \
|
clang \
|
||||||
cpio \
|
cpio \
|
||||||
curl \
|
curl \
|
||||||
dotnet-sdk-6.0 \
|
|
||||||
dotnet-sdk-8.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 \
|
||||||
@@ -51,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)
|
||||||
@@ -75,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
@@ -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.
|
||||||
|
|
||||||
|
|||||||
Regular → Executable
Regular → Executable
@@ -0,0 +1 @@
|
|||||||
|
**/*.deb -diff
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user