Compare commits

...

15 Commits

Author SHA1 Message Date
9eb5f90a2e Merge branch 'stable' of https://git.mixedup.dev/QUIK/docker-cross-compiler into stable
All checks were successful
Build / build (push) Successful in 25m12s
2024-03-30 14:34:19 +03:00
9a1e45f9e3 Add support for osxcross. 2024-03-30 14:13:32 +03:00
b979f9a579 Merge branch 'master' of https://git.mixedup.dev/QUIK/docker-cross-compiler 2024-03-23 11:28:24 +03:00
0aa4ab377c node -> nodejs
All checks were successful
Build / build (push) Successful in 10m54s
2024-03-23 11:11:32 +03:00
a644c84827 Merge branch 'stable' of https://git.mixedup.dev/QUIK/docker-cross-compiler into stable
Some checks failed
Build / build (push) Failing after 34s
2024-03-23 11:05:30 +03:00
20af74f962 Removed cmake files from this repository and added node and meson to the apt packages list. 2024-03-23 11:05:23 +03:00
aae31f8a25 Update .gitea/workflows/build.yaml
All checks were successful
Build / build (push) Successful in 5m15s
2024-03-19 17:56:37 +01:00
1e3ba6c54c Update .gitea/workflows/build.yaml 2024-03-19 17:55:45 +01:00
74bc3a4d42
fix docker name conflict.
Some checks failed
Build / build (push) Failing after 31s
2024-03-19 18:49:09 +03:00
f3ee885fa2
Fix typo.
Some checks failed
Build / build (push) Failing after 31s
2024-03-19 18:45:14 +03:00
56fc90dddb
Merge branch 'master' of https://git.mixedup.dev/QUIK/docker-cross-compiler 2024-03-19 18:43:57 +03:00
a1ca2ee3ea
Try adding secrets to the workflow script. 2024-03-19 18:42:11 +03:00
0f007a1a30 Merge pull request 'Fix workflow.' (#1) from stable into master
Reviewed-on: QUIK/docker-cross-compiler#1
2024-03-19 16:22:09 +01:00
eb7d9d0b94
Fix workflow.
All checks were successful
Build / build (push) Successful in 4m29s
2024-03-19 18:21:24 +03:00
18f533ce47
Add an action.
Some checks failed
Build / build (push) Failing after 1m12s
2024-03-19 18:17:44 +03:00

@ -26,15 +26,18 @@ RUN echo docker_cross_compiler > /etc/hostname
cmake \
clang \
cpio \
curl \
dotnet-sdk-6.0 \
gcc-arm-linux-gnueabihf \
gcc-aarch64-linux-gnu \
gcc-i686-linux-gnu \
git \
libbz2-dev \
libharfbuzz-dev \
libpng-dev \
libssl-dev \
libxml2-dev \
llvm \
lzma-dev \
mingw-w64 \
meson \
@ -43,12 +46,21 @@ RUN echo docker_cross_compiler > /etc/hostname
nodejs \
patch \
python3 \
uuid \
xz-utils \
zlib1g-dev
# Clone osxcross
# Let's do this later.
# RUN git clone 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)
WORKDIR /root/osxcross/tarballs
RUN wget "https://github.com/joseluisq/macosx-sdks/releases/download/14.0/MacOSX14.0.sdk.tar.xz" -O "MacOSX14.0.sdk.tar.xz"
WORKDIR /root/osxcross
ENV UNATTENDED=1 TARGET_DIR=/usr/local SDK_DIR=/usr/local/osxcross-sdk
RUN bash -c "./build.sh"
# Setup interactive shell.
# Setup sudo. Remove password prompt for group "wheel".
@ -56,12 +68,14 @@ RUN echo docker_cross_compiler > /etc/hostname
# Create a default user and switch.
RUN adduser --comment "" --disabled-password quik
RUN addgroup wheel
RUN usermod -aG wheel quik
USER quik
WORKDIR /home/quik
# Copy bashrc
RUN cp /etc/bash.bashrc ~/.bashrc
RUN echo source $HOME/src/sh/bashrc.sh >> ~/.bashrc
COPY sh/bashrc.sh /home/quik/.bashrc
# Execute an interactive shell.
CMD bash