mirror of
https://github.com/claunia/cross-docks.git
synced 2025-12-16 11:14:44 +00:00
Add environments with Retro68 toolchain.
This commit is contained in:
39
Retro68/multiversal/all/Dockerfile
Normal file
39
Retro68/multiversal/all/Dockerfile
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
FROM ubuntu:latest
|
||||||
|
|
||||||
|
LABEL description="Retro68 cross compiler environment for m68k, PowerPC and Carbon development."
|
||||||
|
|
||||||
|
LABEL maintainer="claunia@claunia.com"
|
||||||
|
|
||||||
|
RUN apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gcc\
|
||||||
|
make libc6-dev build-essential libssl-dev libldap2-dev cmake libgmp-dev libmpfr-dev libmpc-dev \
|
||||||
|
libboost-all-dev bison flex texinfo ruby rsync tar python ssh git adduser; \
|
||||||
|
apt-get autoremove -y; \
|
||||||
|
apt-get clean; \
|
||||||
|
rm /var/lib/apt/lists/* -r; \
|
||||||
|
rm -rf /usr/share/man/*
|
||||||
|
|
||||||
|
RUN cd /tmp; \
|
||||||
|
git clone --recursive https://github.com/autc04/Retro68; \
|
||||||
|
mkdir -p /opt/Retro68; \
|
||||||
|
cd /opt/Retro68; \
|
||||||
|
/tmp/Retro68/build-toolchain.bash --clean-after-build
|
||||||
|
|
||||||
|
RUN adduser retro68 --disabled-password --gecos ""; \
|
||||||
|
sed -i "s|^#force_color_prompt=.*|force_color_prompt=yes|" /home/retro68/.bashrc; \
|
||||||
|
apt-get purge -y adduser passwd; \
|
||||||
|
apt-get autoremove -y; \
|
||||||
|
apt-get clean; \
|
||||||
|
rm /var/lib/apt/lists/* -r; \
|
||||||
|
rm -rf /usr/share/man/*
|
||||||
|
|
||||||
|
RUN ( \
|
||||||
|
echo 'LogLevel DEBUG2'; \
|
||||||
|
echo 'PermitRootLogin yes'; \
|
||||||
|
echo 'PasswordAuthentication yes'; \
|
||||||
|
echo 'Subsystem sftp /usr/lib/openssh/sftp-server'; \
|
||||||
|
) > /etc/ssh/sshd_config_remote_dev \
|
||||||
|
&& mkdir /run/sshd
|
||||||
|
|
||||||
|
RUN echo 'export TERM="xterm"' >> /home/retro68/.bashrc
|
||||||
|
|
||||||
|
CMD ["/usr/sbin/sshd" "-D" "-e" "-f" "/etc/ssh/sshd_config_remote_dev"]
|
||||||
23
Retro68/multiversal/all/README.md
Normal file
23
Retro68/multiversal/all/README.md
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# Cross compilation environment
|
||||||
|
|
||||||
|
| | |
|
||||||
|
|--------------------------:|:-------------------------------------------------------------------------------|
|
||||||
|
| **Compiler:** | 9.1.0 |
|
||||||
|
| **Target architecture:** | m68k and PowerPC |
|
||||||
|
| **Target OS:** | System 6 and Mac OS 7 |
|
||||||
|
| **AS:** | `/opt/Retro68/toolchain/bin/(m68k|powerpc)-apple-macos-as` |
|
||||||
|
| **LD:** | `/opt/Retro68/toolchain/bin/(m68k|powerpc)-apple-macos-ld` |
|
||||||
|
| **AR:** | `/opt/Retro68/toolchain/bin/(m68k|powerpc)-apple-macos-ar` |
|
||||||
|
| **CC:** | `/opt/Retro68/toolchain/bin/(m68k|powerpc)-apple-macos-gcc` |
|
||||||
|
| **CXX:** | `/opt/Retro68/toolchain/bin/(m68k|powerpc)-apple-macos-g++` |
|
||||||
|
| **RANLIB:** | `/opt/Retro68/toolchain/bin/(m68k|powerpc)-apple-macos-ranlib` |
|
||||||
|
| **CMake toolchain file:** | `/opt/Retro68/toolchain/m68k-apple-macos/cmake/retro68.toolchain.cmake` |
|
||||||
|
| | `/opt/Retro68/toolchain/powerpc-apple-macos/cmake/retroppc.toolchain.cmake` |
|
||||||
|
| | `/opt/Retro68/toolchain/powerpc-apple-macos/cmake/retrocarbon.toolchain.cmake` |
|
||||||
|
| **SSH daemon:** | *Yes* |
|
||||||
|
| **Username:** | `retro68` |
|
||||||
|
| **Password:** | |
|
||||||
|
|
||||||
|
Installed using [Retro68 toolchain](https://github.com/autc04/Retro68).
|
||||||
|
|
||||||
|
Includes support for `CarbonLib`.
|
||||||
42
Retro68/multiversal/m68k/Dockerfile
Normal file
42
Retro68/multiversal/m68k/Dockerfile
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
FROM ubuntu:latest
|
||||||
|
|
||||||
|
LABEL description="Retro68 cross compiler environment with cmake alias for m68k development."
|
||||||
|
|
||||||
|
LABEL maintainer="claunia@claunia.com"
|
||||||
|
|
||||||
|
RUN apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gcc\
|
||||||
|
make libc6-dev build-essential libssl-dev libldap2-dev cmake libgmp-dev libmpfr-dev libmpc-dev \
|
||||||
|
libboost-all-dev bison flex texinfo ruby rsync tar python ssh git adduser; \
|
||||||
|
apt-get autoremove -y; \
|
||||||
|
apt-get clean; \
|
||||||
|
rm /var/lib/apt/lists/* -r; \
|
||||||
|
rm -rf /usr/share/man/*
|
||||||
|
|
||||||
|
RUN cd /tmp; \
|
||||||
|
git clone --recursive https://github.com/autc04/Retro68; \
|
||||||
|
mkdir -p /opt/Retro68; \
|
||||||
|
cd /opt/Retro68; \
|
||||||
|
/tmp/Retro68/build-toolchain.bash --clean-after-build --no-carbon --no-ppc
|
||||||
|
|
||||||
|
RUN adduser retro68 --disabled-password --gecos ""; \
|
||||||
|
sed -i "s|^#force_color_prompt=.*|force_color_prompt=yes|" /home/retro68/.bashrc; \
|
||||||
|
apt-get purge -y adduser passwd; \
|
||||||
|
apt-get autoremove -y; \
|
||||||
|
apt-get clean; \
|
||||||
|
rm /var/lib/apt/lists/* -r; \
|
||||||
|
rm -rf /usr/share/man/*
|
||||||
|
|
||||||
|
RUN ( \
|
||||||
|
echo 'LogLevel DEBUG2'; \
|
||||||
|
echo 'PermitRootLogin yes'; \
|
||||||
|
echo 'PasswordAuthentication yes'; \
|
||||||
|
echo 'Subsystem sftp /usr/lib/openssh/sftp-server'; \
|
||||||
|
) > /etc/ssh/sshd_config_remote_dev \
|
||||||
|
&& mkdir /run/sshd
|
||||||
|
|
||||||
|
RUN echo 'export TERM="xterm"' >> /home/retro68/.bashrc; \
|
||||||
|
echo 'alias cmake="cmake -DCMAKE_TOOLCHAIN_FILE=/opt/Retro68/toolchain/m68k-apple-macos/cmake/retro68.toolchain.cmake"' >> /home/retro68/.bashrc;
|
||||||
|
|
||||||
|
USER retro68
|
||||||
|
|
||||||
|
CMD ["/usr/sbin/sshd" "-D" "-e" "-f" "/etc/ssh/sshd_config_remote_dev"]
|
||||||
19
Retro68/multiversal/m68k/README.md
Normal file
19
Retro68/multiversal/m68k/README.md
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# Cross compilation environment
|
||||||
|
|
||||||
|
| | |
|
||||||
|
|--------------------------:|:-------------------------------------------------------------------------------|
|
||||||
|
| **Compiler:** | 9.1.0 |
|
||||||
|
| **Target architecture:** | m68k |
|
||||||
|
| **Target OS:** | System 6 and Mac OS 7 |
|
||||||
|
| **AS:** | `/opt/Retro68/toolchain/bin/m68k-apple-macos-as` |
|
||||||
|
| **LD:** | `/opt/Retro68/toolchain/bin/m68k-apple-macos-ld` |
|
||||||
|
| **AR:** | `/opt/Retro68/toolchain/bin/m68k-apple-macos-ar` |
|
||||||
|
| **CC:** | `/opt/Retro68/toolchain/bin/m68k-apple-macos-gcc` |
|
||||||
|
| **CXX:** | `/opt/Retro68/toolchain/bin/m68k-apple-macos-g++` |
|
||||||
|
| **RANLIB:** | `/opt/Retro68/toolchain/bin/m68k-apple-macos-ranlib` |
|
||||||
|
| **CMake toolchain file:** | `/opt/Retro68/toolchain/m68k-apple-macos/cmake/retro68.toolchain.cmake` |
|
||||||
|
| **SSH daemon:** | *Yes* |
|
||||||
|
| **Username:** | `retro68` |
|
||||||
|
| **Password:** | |
|
||||||
|
|
||||||
|
Installed using [Retro68 toolchain](https://github.com/autc04/Retro68).
|
||||||
40
Retro68/multiversal/ppc-carbon/Dockerfile
Normal file
40
Retro68/multiversal/ppc-carbon/Dockerfile
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
FROM ubuntu:latest
|
||||||
|
|
||||||
|
LABEL description="Retro68 cross compiler environment with cmake alias for PowerPC and Carbon development."
|
||||||
|
|
||||||
|
LABEL maintainer="claunia@claunia.com"
|
||||||
|
|
||||||
|
RUN apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gcc\
|
||||||
|
make libc6-dev build-essential libssl-dev libldap2-dev cmake libgmp-dev libmpfr-dev libmpc-dev \
|
||||||
|
libboost-all-dev bison flex texinfo ruby rsync tar python ssh git adduser; \
|
||||||
|
apt-get autoremove -y; \
|
||||||
|
apt-get clean; \
|
||||||
|
rm /var/lib/apt/lists/* -r; \
|
||||||
|
rm -rf /usr/share/man/*
|
||||||
|
|
||||||
|
RUN cd /tmp; \
|
||||||
|
git clone --recursive https://github.com/autc04/Retro68; \
|
||||||
|
mkdir -p /opt/Retro68; \
|
||||||
|
cd /opt/Retro68; \
|
||||||
|
/tmp/Retro68/build-toolchain.bash --clean-after-build --no-68k
|
||||||
|
|
||||||
|
RUN adduser retro68 --disabled-password --gecos ""; \
|
||||||
|
sed -i "s|^#force_color_prompt=.*|force_color_prompt=yes|" /home/retro68/.bashrc; \
|
||||||
|
apt-get purge -y adduser passwd; \
|
||||||
|
apt-get autoremove -y; \
|
||||||
|
apt-get clean; \
|
||||||
|
rm /var/lib/apt/lists/* -r; \
|
||||||
|
rm -rf /usr/share/man/*
|
||||||
|
|
||||||
|
RUN ( \
|
||||||
|
echo 'LogLevel DEBUG2'; \
|
||||||
|
echo 'PermitRootLogin yes'; \
|
||||||
|
echo 'PasswordAuthentication yes'; \
|
||||||
|
echo 'Subsystem sftp /usr/lib/openssh/sftp-server'; \
|
||||||
|
) > /etc/ssh/sshd_config_remote_dev \
|
||||||
|
&& mkdir /run/sshd
|
||||||
|
|
||||||
|
RUN echo 'export TERM="xterm"' >> /home/retro68/.bashrc; \
|
||||||
|
echo 'alias cmake="cmake -DCMAKE_TOOLCHAIN_FILE=/opt/Retro68/toolchain/powerpc-apple-macos/cmake/retrocarbon.toolchain.cmake"' >> /home/retro68/.bashrc;
|
||||||
|
|
||||||
|
CMD ["/usr/sbin/sshd" "-D" "-e" "-f" "/etc/ssh/sshd_config_remote_dev"]
|
||||||
22
Retro68/multiversal/ppc-carbon/README.md
Normal file
22
Retro68/multiversal/ppc-carbon/README.md
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# Cross compilation environment
|
||||||
|
|
||||||
|
| | |
|
||||||
|
|--------------------------:|:-------------------------------------------------------------------------------|
|
||||||
|
| **Compiler:** | 9.1.0 |
|
||||||
|
| **Target architecture:** | m68k and PowerPC |
|
||||||
|
| **Target OS:** | System 6 and Mac OS 7 |
|
||||||
|
| **AS:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-as` |
|
||||||
|
| **LD:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-ld` |
|
||||||
|
| **AR:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-ar` |
|
||||||
|
| **CC:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-gcc` |
|
||||||
|
| **CXX:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-g++` |
|
||||||
|
| **RANLIB:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-ranlib` |
|
||||||
|
| **CMake toolchain file:** | `/opt/Retro68/toolchain/powerpc-apple-macos/cmake/retroppc.toolchain.cmake` |
|
||||||
|
| | `/opt/Retro68/toolchain/powerpc-apple-macos/cmake/retrocarbon.toolchain.cmake` |
|
||||||
|
| **SSH daemon:** | *Yes* |
|
||||||
|
| **Username:** | `retro68` |
|
||||||
|
| **Password:** | |
|
||||||
|
|
||||||
|
Installed using [Retro68 toolchain](https://github.com/autc04/Retro68).
|
||||||
|
|
||||||
|
Includes support for `CarbonLib`.
|
||||||
42
Retro68/multiversal/ppc/Dockerfile
Normal file
42
Retro68/multiversal/ppc/Dockerfile
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
FROM ubuntu:latest
|
||||||
|
|
||||||
|
LABEL description="Retro68 cross compiler environment with cmake alias for PowerPC development."
|
||||||
|
|
||||||
|
LABEL maintainer="claunia@claunia.com"
|
||||||
|
|
||||||
|
RUN apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gcc\
|
||||||
|
make libc6-dev build-essential libssl-dev libldap2-dev cmake libgmp-dev libmpfr-dev libmpc-dev \
|
||||||
|
libboost-all-dev bison flex texinfo ruby rsync tar python ssh git adduser; \
|
||||||
|
apt-get autoremove -y; \
|
||||||
|
apt-get clean; \
|
||||||
|
rm /var/lib/apt/lists/* -r; \
|
||||||
|
rm -rf /usr/share/man/*
|
||||||
|
|
||||||
|
RUN cd /tmp; \
|
||||||
|
git clone --recursive https://github.com/autc04/Retro68; \
|
||||||
|
mkdir -p /opt/Retro68; \
|
||||||
|
cd /opt/Retro68; \
|
||||||
|
/tmp/Retro68/build-toolchain.bash --clean-after-build --no-carbon --no-68k
|
||||||
|
|
||||||
|
RUN adduser retro68 --disabled-password --gecos ""; \
|
||||||
|
sed -i "s|^#force_color_prompt=.*|force_color_prompt=yes|" /home/retro68/.bashrc; \
|
||||||
|
apt-get purge -y adduser passwd; \
|
||||||
|
apt-get autoremove -y; \
|
||||||
|
apt-get clean; \
|
||||||
|
rm /var/lib/apt/lists/* -r; \
|
||||||
|
rm -rf /usr/share/man/*
|
||||||
|
|
||||||
|
RUN ( \
|
||||||
|
echo 'LogLevel DEBUG2'; \
|
||||||
|
echo 'PermitRootLogin yes'; \
|
||||||
|
echo 'PasswordAuthentication yes'; \
|
||||||
|
echo 'Subsystem sftp /usr/lib/openssh/sftp-server'; \
|
||||||
|
) > /etc/ssh/sshd_config_remote_dev \
|
||||||
|
&& mkdir /run/sshd
|
||||||
|
|
||||||
|
RUN echo 'export TERM="xterm"' >> /home/retro68/.bashrc; \
|
||||||
|
echo 'alias cmake="cmake -DCMAKE_TOOLCHAIN_FILE=/opt/Retro68/toolchain/powerpc-apple-macos/cmake/retroppc.toolchain.cmake"' >> /home/retro68/.bashrc;
|
||||||
|
|
||||||
|
USER retro68
|
||||||
|
|
||||||
|
CMD ["/usr/sbin/sshd" "-D" "-e" "-f" "/etc/ssh/sshd_config_remote_dev"]
|
||||||
19
Retro68/multiversal/ppc/README.md
Normal file
19
Retro68/multiversal/ppc/README.md
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# Cross compilation environment
|
||||||
|
|
||||||
|
| | |
|
||||||
|
|--------------------------:|:-------------------------------------------------------------------------------|
|
||||||
|
| **Compiler:** | 9.1.0 |
|
||||||
|
| **Target architecture:** | PowerPC |
|
||||||
|
| **Target OS:** | System 6 and Mac OS 7 |
|
||||||
|
| **AS:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-as` |
|
||||||
|
| **LD:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-ld` |
|
||||||
|
| **AR:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-ar` |
|
||||||
|
| **CC:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-gcc` |
|
||||||
|
| **CXX:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-g++` |
|
||||||
|
| **RANLIB:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-ranlib` |
|
||||||
|
| **CMake toolchain file:** | `/opt/Retro68/toolchain/powerpc-apple-macos/cmake/retroppc.toolchain.cmake` |
|
||||||
|
| **SSH daemon:** | *Yes* |
|
||||||
|
| **Username:** | `retro68` |
|
||||||
|
| **Password:** | |
|
||||||
|
|
||||||
|
Installed using [Retro68 toolchain](https://github.com/autc04/Retro68).
|
||||||
43
Retro68/universal/all/Dockerfile
Normal file
43
Retro68/universal/all/Dockerfile
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
FROM ubuntu:latest
|
||||||
|
|
||||||
|
LABEL description="Retro68 cross compiler environment for m68k, PowerPC and Carbon development with the Apple Universal libraries."
|
||||||
|
|
||||||
|
LABEL maintainer="claunia@claunia.com"
|
||||||
|
|
||||||
|
RUN apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gcc \
|
||||||
|
make libc6-dev build-essential libssl-dev libldap2-dev cmake libgmp-dev libmpfr-dev libmpc-dev \
|
||||||
|
libboost-all-dev bison flex texinfo ruby rsync tar python ssh git wget unzip adduser; \
|
||||||
|
apt-get autoremove -y; \
|
||||||
|
apt-get clean; \
|
||||||
|
rm /var/lib/apt/lists/* -r; \
|
||||||
|
rm -rf /usr/share/man/*
|
||||||
|
|
||||||
|
RUN cd /tmp; \
|
||||||
|
git clone --recursive https://github.com/autc04/Retro68; \
|
||||||
|
cd /tmp/Retro68; \
|
||||||
|
wget https://macintoshgarden.org/sites/macintoshgarden.org/files/apps/InterfacesAndLibraries.zip; \
|
||||||
|
unzip InterfacesAndLibraries.zip; \
|
||||||
|
mv "Interfaces&Libraries"/* InterfacesAndLibraries/; \
|
||||||
|
mkdir -p /opt/Retro68; \
|
||||||
|
cd /opt/Retro68; \
|
||||||
|
/tmp/Retro68/build-toolchain.bash --clean-after-build --universal
|
||||||
|
|
||||||
|
RUN adduser retro68 --disabled-password --gecos ""; \
|
||||||
|
sed -i "s|^#force_color_prompt=.*|force_color_prompt=yes|" /home/retro68/.bashrc; \
|
||||||
|
apt-get purge -y adduser passwd; \
|
||||||
|
apt-get autoremove -y; \
|
||||||
|
apt-get clean; \
|
||||||
|
rm /var/lib/apt/lists/* -r; \
|
||||||
|
rm -rf /usr/share/man/*
|
||||||
|
|
||||||
|
RUN ( \
|
||||||
|
echo 'LogLevel DEBUG2'; \
|
||||||
|
echo 'PermitRootLogin yes'; \
|
||||||
|
echo 'PasswordAuthentication yes'; \
|
||||||
|
echo 'Subsystem sftp /usr/lib/openssh/sftp-server'; \
|
||||||
|
) > /etc/ssh/sshd_config_remote_dev \
|
||||||
|
&& mkdir /run/sshd
|
||||||
|
|
||||||
|
RUN echo 'export TERM="xterm"' >> /home/retro68/.bashrc
|
||||||
|
|
||||||
|
CMD ["/usr/sbin/sshd" "-D" "-e" "-f" "/etc/ssh/sshd_config_remote_dev"]
|
||||||
24
Retro68/universal/all/README.md
Normal file
24
Retro68/universal/all/README.md
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Cross compilation environment
|
||||||
|
|
||||||
|
| | |
|
||||||
|
|--------------------------:|:-------------------------------------------------------------------------------|
|
||||||
|
| **Compiler:** | 9.1.0 |
|
||||||
|
| **Target architecture:** | m68k and PowerPC |
|
||||||
|
| **Target OS:** | System 6 and Mac OS 7 and higher |
|
||||||
|
| **AS:** | `/opt/Retro68/toolchain/bin/(m68k|powerpc)-apple-macos-as` |
|
||||||
|
| **LD:** | `/opt/Retro68/toolchain/bin/(m68k|powerpc)-apple-macos-ld` |
|
||||||
|
| **AR:** | `/opt/Retro68/toolchain/bin/(m68k|powerpc)-apple-macos-ar` |
|
||||||
|
| **CC:** | `/opt/Retro68/toolchain/bin/(m68k|powerpc)-apple-macos-gcc` |
|
||||||
|
| **CXX:** | `/opt/Retro68/toolchain/bin/(m68k|powerpc)-apple-macos-g++` |
|
||||||
|
| **RANLIB:** | `/opt/Retro68/toolchain/bin/(m68k|powerpc)-apple-macos-ranlib` |
|
||||||
|
| **CMake toolchain file:** | `/opt/Retro68/toolchain/m68k-apple-macos/cmake/retro68.toolchain.cmake` |
|
||||||
|
| | `/opt/Retro68/toolchain/powerpc-apple-macos/cmake/retroppc.toolchain.cmake` |
|
||||||
|
| | `/opt/Retro68/toolchain/powerpc-apple-macos/cmake/retrocarbon.toolchain.cmake` |
|
||||||
|
| **SSH daemon:** | *Yes* |
|
||||||
|
| **Username:** | `retro68` |
|
||||||
|
| **Password:** | |
|
||||||
|
|
||||||
|
Installed using [Retro68 toolchain](https://github.com/autc04/Retro68).
|
||||||
|
|
||||||
|
Includes support for `CarbonLib`.
|
||||||
|
Uses Apple's Universal Interfaces.
|
||||||
46
Retro68/universal/m68k/Dockerfile
Normal file
46
Retro68/universal/m68k/Dockerfile
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
FROM ubuntu:latest
|
||||||
|
|
||||||
|
LABEL description="Retro68 cross compiler environment with cmake alias for m68k development with the Apple Universal libraries."
|
||||||
|
|
||||||
|
LABEL maintainer="claunia@claunia.com"
|
||||||
|
|
||||||
|
RUN apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gcc \
|
||||||
|
make libc6-dev build-essential libssl-dev libldap2-dev cmake libgmp-dev libmpfr-dev libmpc-dev \
|
||||||
|
libboost-all-dev bison flex texinfo ruby rsync tar python ssh git wget unzip adduser; \
|
||||||
|
apt-get autoremove -y; \
|
||||||
|
apt-get clean; \
|
||||||
|
rm /var/lib/apt/lists/* -r; \
|
||||||
|
rm -rf /usr/share/man/*
|
||||||
|
|
||||||
|
RUN cd /tmp; \
|
||||||
|
git clone --recursive https://github.com/autc04/Retro68; \
|
||||||
|
cd /tmp/Retro68; \
|
||||||
|
wget https://macintoshgarden.org/sites/macintoshgarden.org/files/apps/InterfacesAndLibraries.zip; \
|
||||||
|
unzip InterfacesAndLibraries.zip; \
|
||||||
|
mv "Interfaces&Libraries"/* InterfacesAndLibraries/; \
|
||||||
|
mkdir -p /opt/Retro68; \
|
||||||
|
cd /opt/Retro68; \
|
||||||
|
/tmp/Retro68/build-toolchain.bash --clean-after-build --no-carbon --no-ppc --universal
|
||||||
|
|
||||||
|
RUN adduser retro68 --disabled-password --gecos ""; \
|
||||||
|
sed -i "s|^#force_color_prompt=.*|force_color_prompt=yes|" /home/retro68/.bashrc; \
|
||||||
|
apt-get purge -y adduser passwd; \
|
||||||
|
apt-get autoremove -y; \
|
||||||
|
apt-get clean; \
|
||||||
|
rm /var/lib/apt/lists/* -r; \
|
||||||
|
rm -rf /usr/share/man/*
|
||||||
|
|
||||||
|
RUN ( \
|
||||||
|
echo 'LogLevel DEBUG2'; \
|
||||||
|
echo 'PermitRootLogin yes'; \
|
||||||
|
echo 'PasswordAuthentication yes'; \
|
||||||
|
echo 'Subsystem sftp /usr/lib/openssh/sftp-server'; \
|
||||||
|
) > /etc/ssh/sshd_config_remote_dev \
|
||||||
|
&& mkdir /run/sshd
|
||||||
|
|
||||||
|
RUN echo 'export TERM="xterm"' >> /home/retro68/.bashrc; \
|
||||||
|
echo 'alias cmake="cmake -DCMAKE_TOOLCHAIN_FILE=/opt/Retro68/toolchain/m68k-apple-macos/cmake/retro68.toolchain.cmake"' >> /home/retro68/.bashrc;
|
||||||
|
|
||||||
|
USER retro68
|
||||||
|
|
||||||
|
CMD ["/usr/sbin/sshd" "-D" "-e" "-f" "/etc/ssh/sshd_config_remote_dev"]
|
||||||
21
Retro68/universal/m68k/README.md
Normal file
21
Retro68/universal/m68k/README.md
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# Cross compilation environment
|
||||||
|
|
||||||
|
| | |
|
||||||
|
|--------------------------:|:-------------------------------------------------------------------------------|
|
||||||
|
| **Compiler:** | 9.1.0 |
|
||||||
|
| **Target architecture:** | m68k |
|
||||||
|
| **Target OS:** | System 6 and Mac OS 7 and higher |
|
||||||
|
| **AS:** | `/opt/Retro68/toolchain/bin/m68k-apple-macos-as` |
|
||||||
|
| **LD:** | `/opt/Retro68/toolchain/bin/m68k-apple-macos-ld` |
|
||||||
|
| **AR:** | `/opt/Retro68/toolchain/bin/m68k-apple-macos-ar` |
|
||||||
|
| **CC:** | `/opt/Retro68/toolchain/bin/m68k-apple-macos-gcc` |
|
||||||
|
| **CXX:** | `/opt/Retro68/toolchain/bin/m68k-apple-macos-g++` |
|
||||||
|
| **RANLIB:** | `/opt/Retro68/toolchain/bin/m68k-apple-macos-ranlib` |
|
||||||
|
| **CMake toolchain file:** | `/opt/Retro68/toolchain/m68k-apple-macos/cmake/retro68.toolchain.cmake` |
|
||||||
|
| **SSH daemon:** | *Yes* |
|
||||||
|
| **Username:** | `retro68` |
|
||||||
|
| **Password:** | |
|
||||||
|
|
||||||
|
Installed using [Retro68 toolchain](https://github.com/autc04/Retro68).
|
||||||
|
|
||||||
|
Uses Apple's Universal Interfaces.
|
||||||
44
Retro68/universal/ppc-carbon/Dockerfile
Normal file
44
Retro68/universal/ppc-carbon/Dockerfile
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
FROM ubuntu:latest
|
||||||
|
|
||||||
|
LABEL description=" Retro68 cross compiler environment with cmake alias for PowerPC and Carbon development with the Apple Universal libraries."
|
||||||
|
|
||||||
|
LABEL maintainer="claunia@claunia.com"
|
||||||
|
|
||||||
|
RUN apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gcc \
|
||||||
|
make libc6-dev build-essential libssl-dev libldap2-dev cmake libgmp-dev libmpfr-dev libmpc-dev \
|
||||||
|
libboost-all-dev bison flex texinfo ruby rsync tar python ssh git wget unzip adduser; \
|
||||||
|
apt-get autoremove -y; \
|
||||||
|
apt-get clean; \
|
||||||
|
rm /var/lib/apt/lists/* -r; \
|
||||||
|
rm -rf /usr/share/man/*
|
||||||
|
|
||||||
|
RUN cd /tmp; \
|
||||||
|
git clone --recursive https://github.com/autc04/Retro68; \
|
||||||
|
cd /tmp/Retro68; \
|
||||||
|
wget https://macintoshgarden.org/sites/macintoshgarden.org/files/apps/InterfacesAndLibraries.zip; \
|
||||||
|
unzip InterfacesAndLibraries.zip; \
|
||||||
|
mv "Interfaces&Libraries"/* InterfacesAndLibraries/; \
|
||||||
|
mkdir -p /opt/Retro68; \
|
||||||
|
cd /opt/Retro68; \
|
||||||
|
/tmp/Retro68/build-toolchain.bash --clean-after-build --no-68k --universal
|
||||||
|
|
||||||
|
RUN adduser retro68 --disabled-password --gecos ""; \
|
||||||
|
sed -i "s|^#force_color_prompt=.*|force_color_prompt=yes|" /home/retro68/.bashrc; \
|
||||||
|
apt-get purge -y adduser passwd; \
|
||||||
|
apt-get autoremove -y; \
|
||||||
|
apt-get clean; \
|
||||||
|
rm /var/lib/apt/lists/* -r; \
|
||||||
|
rm -rf /usr/share/man/*
|
||||||
|
|
||||||
|
RUN ( \
|
||||||
|
echo 'LogLevel DEBUG2'; \
|
||||||
|
echo 'PermitRootLogin yes'; \
|
||||||
|
echo 'PasswordAuthentication yes'; \
|
||||||
|
echo 'Subsystem sftp /usr/lib/openssh/sftp-server'; \
|
||||||
|
) > /etc/ssh/sshd_config_remote_dev \
|
||||||
|
&& mkdir /run/sshd
|
||||||
|
|
||||||
|
RUN echo 'export TERM="xterm"' >> /home/retro68/.bashrc; \
|
||||||
|
echo 'alias cmake="cmake -DCMAKE_TOOLCHAIN_FILE=/opt/Retro68/toolchain/powerpc-apple-macos/cmake/retrocarbon.toolchain.cmake"' >> /home/retro68/.bashrc;
|
||||||
|
|
||||||
|
CMD ["/usr/sbin/sshd" "-D" "-e" "-f" "/etc/ssh/sshd_config_remote_dev"]
|
||||||
23
Retro68/universal/ppc-carbon/README.md
Normal file
23
Retro68/universal/ppc-carbon/README.md
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# Cross compilation environment
|
||||||
|
|
||||||
|
| | |
|
||||||
|
|--------------------------:|:-------------------------------------------------------------------------------|
|
||||||
|
| **Compiler:** | 9.1.0 |
|
||||||
|
| **Target architecture:** | PowerPC |
|
||||||
|
| **Target OS:** | System 6 and Mac OS 7 and higher |
|
||||||
|
| **AS:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-as` |
|
||||||
|
| **LD:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-ld` |
|
||||||
|
| **AR:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-ar` |
|
||||||
|
| **CC:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-gcc` |
|
||||||
|
| **CXX:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-g++` |
|
||||||
|
| **RANLIB:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-ranlib` |
|
||||||
|
| **CMake toolchain file:** | `/opt/Retro68/toolchain/powerpc-apple-macos/cmake/retroppc.toolchain.cmake` |
|
||||||
|
| | `/opt/Retro68/toolchain/powerpc-apple-macos/cmake/retrocarbon.toolchain.cmake` |
|
||||||
|
| **SSH daemon:** | *Yes* |
|
||||||
|
| **Username:** | `retro68` |
|
||||||
|
| **Password:** | |
|
||||||
|
|
||||||
|
Installed using [Retro68 toolchain](https://github.com/autc04/Retro68).
|
||||||
|
|
||||||
|
Includes support for `CarbonLib`.
|
||||||
|
Uses Apple's Universal Interfaces.
|
||||||
46
Retro68/universal/ppc/Dockerfile
Normal file
46
Retro68/universal/ppc/Dockerfile
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
FROM ubuntu:latest
|
||||||
|
|
||||||
|
LABEL description="Retro68 cross compiler environment with cmake alias for PowerPC development with the Apple Universal libraries."
|
||||||
|
|
||||||
|
LABEL maintainer="claunia@claunia.com"
|
||||||
|
|
||||||
|
RUN apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gcc \
|
||||||
|
make libc6-dev build-essential libssl-dev libldap2-dev cmake libgmp-dev libmpfr-dev libmpc-dev \
|
||||||
|
libboost-all-dev bison flex texinfo ruby rsync tar python ssh git wget unzip adduser; \
|
||||||
|
apt-get autoremove -y; \
|
||||||
|
apt-get clean; \
|
||||||
|
rm /var/lib/apt/lists/* -r; \
|
||||||
|
rm -rf /usr/share/man/*
|
||||||
|
|
||||||
|
RUN cd /tmp; \
|
||||||
|
git clone --recursive https://github.com/autc04/Retro68; \
|
||||||
|
cd /tmp/Retro68; \
|
||||||
|
wget https://macintoshgarden.org/sites/macintoshgarden.org/files/apps/InterfacesAndLibraries.zip; \
|
||||||
|
unzip InterfacesAndLibraries.zip; \
|
||||||
|
mv "Interfaces&Libraries"/* InterfacesAndLibraries/; \
|
||||||
|
mkdir -p /opt/Retro68; \
|
||||||
|
cd /opt/Retro68; \
|
||||||
|
/tmp/Retro68/build-toolchain.bash --clean-after-build --no-carbon --no-68k --universal
|
||||||
|
|
||||||
|
RUN adduser retro68 --disabled-password --gecos ""; \
|
||||||
|
sed -i "s|^#force_color_prompt=.*|force_color_prompt=yes|" /home/retro68/.bashrc; \
|
||||||
|
apt-get purge -y adduser passwd; \
|
||||||
|
apt-get autoremove -y; \
|
||||||
|
apt-get clean; \
|
||||||
|
rm /var/lib/apt/lists/* -r; \
|
||||||
|
rm -rf /usr/share/man/*
|
||||||
|
|
||||||
|
RUN ( \
|
||||||
|
echo 'LogLevel DEBUG2'; \
|
||||||
|
echo 'PermitRootLogin yes'; \
|
||||||
|
echo 'PasswordAuthentication yes'; \
|
||||||
|
echo 'Subsystem sftp /usr/lib/openssh/sftp-server'; \
|
||||||
|
) > /etc/ssh/sshd_config_remote_dev \
|
||||||
|
&& mkdir /run/sshd
|
||||||
|
|
||||||
|
RUN echo 'export TERM="xterm"' >> /home/retro68/.bashrc; \
|
||||||
|
echo 'alias cmake="cmake -DCMAKE_TOOLCHAIN_FILE=/opt/Retro68/toolchain/powerpc-apple-macos/cmake/retroppc.toolchain.cmake"' >> /home/retro68/.bashrc;
|
||||||
|
|
||||||
|
USER retro68
|
||||||
|
|
||||||
|
CMD ["/usr/sbin/sshd" "-D" "-e" "-f" "/etc/ssh/sshd_config_remote_dev"]
|
||||||
21
Retro68/universal/ppc/README.md
Normal file
21
Retro68/universal/ppc/README.md
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# Cross compilation environment
|
||||||
|
|
||||||
|
| | |
|
||||||
|
|--------------------------:|:-------------------------------------------------------------------------------|
|
||||||
|
| **Compiler:** | 9.1.0 |
|
||||||
|
| **Target architecture:** | PowerPC |
|
||||||
|
| **Target OS:** | System 6 and Mac OS 7 and higher |
|
||||||
|
| **AS:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-as` |
|
||||||
|
| **LD:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-ld` |
|
||||||
|
| **AR:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-ar` |
|
||||||
|
| **CC:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-gcc` |
|
||||||
|
| **CXX:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-g++` |
|
||||||
|
| **RANLIB:** | `/opt/Retro68/toolchain/bin/powerpc-apple-macos-ranlib` |
|
||||||
|
| **CMake toolchain file:** | `/opt/Retro68/toolchain/powerpc-apple-macos/cmake/retroppc.toolchain.cmake` |
|
||||||
|
| **SSH daemon:** | *Yes* |
|
||||||
|
| **Username:** | `retro68` |
|
||||||
|
| **Password:** | |
|
||||||
|
|
||||||
|
Installed using [Retro68 toolchain](https://github.com/autc04/Retro68).
|
||||||
|
|
||||||
|
Uses Apple's Universal Interfaces.
|
||||||
Reference in New Issue
Block a user