This commit is contained in:
Dagen Brock 2020-03-04 10:26:03 -06:00
parent c65a8bf821
commit a3e5e96834
2 changed files with 6 additions and 13 deletions

View File

@ -7,7 +7,8 @@ RUN apt-get update
# Install packages
#RUN apt-get -yq install rsync openssh-client
RUN apt-get -yq install unzip curl
RUN apt-get -yq install unzip curl python3
# Label

View File

@ -6,22 +6,14 @@ curl -L $CADZIP -o cadius.zip
unzip -n cadius.zip
mv cadius /usr/bin
cadius createvolume $INPUT_VOLUME_PATH $INPUT_VOLUME_NAME $INPUT_VOLUME_SIZE
if [ "$INPUT_INCLUDE_PRODOS" = "true" ]; then
apt-get install -y python3
echo "Grabbing ProDOS 2.4.2"
curl -k -L https://mirrors.apple2.org.za/ftp.apple.asimov.net/images/masters/prodos/ProDOS_2_4_2.dsk -o ProDOS_2_4_2.dsk
#git clone https://github.com/digarok/dsk2po.git
echo "Convert DSK to PO"
curl -k -L https://raw.githubusercontent.com/digarok/dsk2po/master/dsk2po.py -o dsk2po.py
echo "WHICH"
which python
which python3
ls /usr/bin
echo "-----"
ls /bin
/usr/bin/python3 dsk2po.py ProDOS_2_4_2.dsk
cadius extractfile ProDOS_2_4_2.po /PRODOS.2.4.2/PRODOS .
cadius extractfile ProDOS_2_4_2.po /PRODOS.2.4.2/BASIC.SYSTEM .
cadius extractvolume ProDOS_2_4_2.po .
echo "ProDOS 2.4.2 files available in ./PRODOS.2.4.2/ :"
ls ./PRODOS.2.4.2/
fi
ls