Updating 'ac' and adding 'acx'.

This commit is contained in:
Rob Greene 2022-03-06 14:50:59 -06:00
parent f7028f5561
commit e2fea4eae3
2 changed files with 9 additions and 5 deletions

View File

@ -5,8 +5,7 @@ LABEL description="This is a cc65 Docker container intended to be used for build
ENV BUILD_DIR="/tmp" \ ENV BUILD_DIR="/tmp" \
CC65_VERSION="V2.19" \ CC65_VERSION="V2.19" \
NULIB2_VERSION="v3.1.0" \ NULIB2_VERSION="v3.1.0" \
AC_RELEASE="v1-4-0" \ AC_VERSION="1.7.0"
AC_VERSION="1.4.0"
COPY bin /usr/local/bin COPY bin /usr/local/bin
@ -31,14 +30,17 @@ RUN apk add --no-cache build-base binutils && \
./configure && \ ./configure && \
make && \ make && \
make install && \ make install && \
echo "Adding AppleCommander" && \
wget https://github.com/AppleCommander/AppleCommander/releases/download/${AC_RELEASE}/AppleCommander-ac-${AC_VERSION}.jar && \
mkdir -p /usr/local/share/java && \ mkdir -p /usr/local/share/java && \
echo "Adding AppleCommander 'ac'" && \
wget https://github.com/AppleCommander/AppleCommander/releases/download/${AC_VERSION}/AppleCommander-ac-${AC_VERSION}.jar && \
mv AppleCommander-ac-${AC_VERSION}.jar /usr/local/share/java/AppleCommander-ac.jar && \ mv AppleCommander-ac-${AC_VERSION}.jar /usr/local/share/java/AppleCommander-ac.jar && \
echo "Adding AppleCommander 'acx'" && \
wget https://github.com/AppleCommander/AppleCommander/releases/download/${AC_VERSION}/AppleCommander-acx-${AC_VERSION}.jar && \
mv AppleCommander-acx-${AC_VERSION}.jar /usr/local/share/java/AppleCommander-acx.jar && \
echo "Cleaning up" && \ echo "Cleaning up" && \
cd ${BUILD_DIR} && \ cd ${BUILD_DIR} && \
rm -rf * && \ rm -rf * && \
apk del --no-cache build-base && \ apk del --no-cache build-base && \
echo "Adding other required build-tools exclusive of other C compilers!" && \ echo "Adding other required build-tools exclusive of other C compilers!" && \
apk add --no-cache make openjdk8-jre && \ apk add --no-cache make openjdk11-jre && \
chmod +x /usr/local/bin/* chmod +x /usr/local/bin/*

2
bin/acx Normal file
View File

@ -0,0 +1,2 @@
#!/bin/sh
java -jar /usr/local/share/java/AppleCommander-acx.jar "${@}"