Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
reenigneEsrever92 committed Dec 20, 2023
1 parent 230ac4c commit 037d136
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,19 @@ WORKDIR /osxcross
RUN git clone https://github.com/tpoechtrager/osxcross .

RUN wget -nc https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX11.3.sdk.tar.xz \
&& mv MacOSX11.3.sdk.tar.xz tarballs/
&& mv MacOSX11.3.sdk.tar.xz tarballs/

RUN UNATTENDED=yes OSX_VERSION_MIN=10.7 ./build.sh

RUN groupadd -g 1000 build-group
RUN useradd -u 1000 -g 1000 build-user

RUN mkdir /polymath

RUN chown build-user:build-group /polymath

USER build-user

RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y

WORKDIR /polymath
Expand Down

0 comments on commit 037d136

Please sign in to comment.