Dockerification of ABCL for fun and profit

With Docker Enginer installed, one may now run a version of ABCL
within a Linux container via

    docker run --name abcl --tty abcl easye/abcl

Once the initial container 'abcl' is running, addiitonal ABCL
processes may be invoked as follows.

    docker exec -it abcl /home/abcl/work/abcl/abcl

The Docker images downloaded from the network by Docker Engine can be rebuilt locally
if something in the ABCL sources changes via:

    docker build .
parent 43372dda
# TODO optimize me for space
FROM easye/openjdk8
RUN export DEBIAN_FRONTEND='noninteractive' && \
apt-get update && \
apt-get upgrade -y && \
apt-get install -y \
USER root
RUN useradd -ms /bin/bash abcl
USER abcl
ENV work /home/abcl/work
RUN mkdir -p ${work}
WORKDIR ${work}
COPY . ${work}/abcl
USER root
RUN chown -R abcl:abcl ${work}
USER abcl
# Diagnostics for debugging ABCL construction
RUN ls -lR ${work}/abcl
RUN JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 cd ${work}/abcl && ant clean && ant abcl
ENV abcl.exec.path "${work}/abcl/abcl"
USER abcl
CMD [ "/home/abcl/work/abcl/abcl", "--eval", "(loop :doing (sleep 1))" ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment