This commit is contained in:
parent
c65a8bf821
commit
a3e5e96834
|
@ -7,7 +7,8 @@ RUN apt-get update
|
||||||
|
|
||||||
# Install packages
|
# Install packages
|
||||||
#RUN apt-get -yq install rsync openssh-client
|
#RUN apt-get -yq install rsync openssh-client
|
||||||
RUN apt-get -yq install unzip curl
|
RUN apt-get -yq install unzip curl python3
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Label
|
# Label
|
||||||
|
|
|
@ -6,22 +6,14 @@ curl -L $CADZIP -o cadius.zip
|
||||||
unzip -n cadius.zip
|
unzip -n cadius.zip
|
||||||
mv cadius /usr/bin
|
mv cadius /usr/bin
|
||||||
|
|
||||||
cadius createvolume $INPUT_VOLUME_PATH $INPUT_VOLUME_NAME $INPUT_VOLUME_SIZE
|
|
||||||
|
|
||||||
if [ "$INPUT_INCLUDE_PRODOS" = "true" ]; then
|
if [ "$INPUT_INCLUDE_PRODOS" = "true" ]; then
|
||||||
apt-get install -y python3
|
|
||||||
echo "Grabbing ProDOS 2.4.2"
|
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
|
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
|
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
|
/usr/bin/python3 dsk2po.py ProDOS_2_4_2.dsk
|
||||||
cadius extractfile ProDOS_2_4_2.po /PRODOS.2.4.2/PRODOS .
|
cadius extractvolume ProDOS_2_4_2.po .
|
||||||
cadius extractfile ProDOS_2_4_2.po /PRODOS.2.4.2/BASIC.SYSTEM .
|
echo "ProDOS 2.4.2 files available in ./PRODOS.2.4.2/ :"
|
||||||
|
ls ./PRODOS.2.4.2/
|
||||||
fi
|
fi
|
||||||
ls
|
ls
|
||||||
|
|
Loading…
Reference in New Issue