| 1 |
FROM ubuntu:16.04 |
| 2 |
|
| 3 |
# Install packages |
| 4 |
RUN apt update && apt upgrade -y &&\ |
| 5 |
apt install -y curl &&\ |
| 6 |
apt install -y make &&\ |
| 7 |
apt install -y unzip &&\ |
| 8 |
apt install -y git &&\ |
| 9 |
apt install -y gcc &&\ |
| 10 |
apt install -y gcc-multilib &&\ |
| 11 |
apt install -y mingw-w64 |
| 12 |
|
| 13 |
#download darwin build packages |
| 14 |
RUN curl -O http://security.ubuntu.com/ubuntu/pool/universe/o/openssl098/libssl0.9.8_0.9.8o-7ubuntu3.2.14.04.1_amd64.deb &&\ |
| 15 |
curl -O http://www.tarnyko.net/repo/apple-x86-gcc-DEBIAN-AMD64.zip &&\ |
| 16 |
unzip apple-x86-gcc-DEBIAN-AMD64.zip &&\ |
| 17 |
export DEBIAN_FRONTEND=noninteractive &&\ |
| 18 |
dpkg -i libssl0.9.8_0.9.8o-7ubuntu3.2.14.04.1_amd64.deb &&\ |
| 19 |
dpkg -i apple-uni-sdk-10.5_20110407-0.flosoft1_amd64.deb &&\ |
| 20 |
dpkg -i apple-x86-odcctools_758.159-0flosoft11_amd64.deb &&\ |
| 21 |
dpkg -i apple-x86-gcc_4.2.1~5646.1flosoft2_amd64.deb &&\ |
| 22 |
rm *.zip &&\ |
| 23 |
rm *.deb |
| 24 |
|
| 25 |
CMD /bin/bash |