Compare commits
No commits in common. "9eb5f90a2e7e7439193ec65d3a9cec49fda54454" and "ac01f7f2aaa50f3270c6a476239c2bb546c33cd5" have entirely different histories.
9eb5f90a2e
...
ac01f7f2aa
18
Dockerfile
18
Dockerfile
@ -26,18 +26,15 @@ RUN echo docker_cross_compiler > /etc/hostname
|
|||||||
cmake \
|
cmake \
|
||||||
clang \
|
clang \
|
||||||
cpio \
|
cpio \
|
||||||
curl \
|
|
||||||
dotnet-sdk-6.0 \
|
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 \
|
|
||||||
libharfbuzz-dev \
|
libharfbuzz-dev \
|
||||||
libpng-dev \
|
libpng-dev \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
llvm \
|
|
||||||
lzma-dev \
|
lzma-dev \
|
||||||
mingw-w64 \
|
mingw-w64 \
|
||||||
meson \
|
meson \
|
||||||
@ -46,21 +43,12 @@ RUN echo docker_cross_compiler > /etc/hostname
|
|||||||
nodejs \
|
nodejs \
|
||||||
patch \
|
patch \
|
||||||
python3 \
|
python3 \
|
||||||
uuid \
|
|
||||||
xz-utils \
|
xz-utils \
|
||||||
zlib1g-dev
|
zlib1g-dev
|
||||||
|
|
||||||
# Clone osxcross
|
# Clone osxcross
|
||||||
# Let's do this later.
|
# Let's do this later.
|
||||||
RUN git clone --recurse-submodules "https://github.com/tpoechtrager/osxcross.git" osxcross
|
# RUN git clone 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 interactive shell.
|
||||||
# Setup sudo. Remove password prompt for group "wheel".
|
# Setup sudo. Remove password prompt for group "wheel".
|
||||||
@ -68,14 +56,12 @@ RUN echo docker_cross_compiler > /etc/hostname
|
|||||||
|
|
||||||
# Create a default user and switch.
|
# Create a default user and switch.
|
||||||
RUN adduser --comment "" --disabled-password quik
|
RUN adduser --comment "" --disabled-password quik
|
||||||
RUN addgroup wheel
|
|
||||||
RUN usermod -aG wheel quik
|
|
||||||
USER quik
|
USER quik
|
||||||
WORKDIR /home/quik
|
WORKDIR /home/quik
|
||||||
|
|
||||||
# Copy bashrc
|
# Copy bashrc
|
||||||
RUN cp /etc/bash.bashrc ~/.bashrc
|
RUN cp /etc/bash.bashrc ~/.bashrc
|
||||||
COPY sh/bashrc.sh /home/quik/.bashrc
|
RUN echo source $HOME/src/sh/bashrc.sh >> ~/.bashrc
|
||||||
|
|
||||||
# Execute an interactive shell.
|
# Execute an interactive shell.
|
||||||
CMD bash
|
CMD bash
|
||||||
|
Loading…
Reference in New Issue
Block a user