Changeset 15293


Ignore:
Timestamp:
06/02/20 07:12:00 (6 months ago)
Author:
Mark Evenson
Message:

docker: use openjdk11 for build

Use autoconfiguration mechanism to set properties.

Include a Lisp fragment to install Quicklisp.

Location:
trunk/abcl
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/Dockerfile

    r15148 r15293  
    11# TODO optimize me for space
    2 FROM openjdk:8
     2FROM openjdk:11
    33
    44RUN export DEBIAN_FRONTEND='noninteractive' && \
     
    2424#RUN ls -lR ${work}/abcl
    2525
    26 RUN echo "java.options=-d64  -XX:+UseG1GC -XshowSettings:vm -Dfile.encoding=UTF-8 -XX:+AggressiveOpts -XX:CompileThreshold=10" > ${work}/abcl/abcl.properties
     26RUN cd ${work}/abcl && bash ci/create-abcl-properties.bash openjdk11
    2727
    2828RUN cd ${work}/abcl && ant clean && ant abcl
     
    3333
    3434USER abcl
    35 CMD [ "/usr/local/bin/abcl" ]
     35ENTRYPOINT [ "/usr/local/bin/abcl" ]
    3636
    3737
  • trunk/abcl/README

    r15265 r15293  
    4848
    4949    docker build -t YOURID/abcl .
    50     docker run -it YOURID/abcl
     50    docker run -it YOURID/abcl 
    5151
    5252to get something like
     
    6262    23
    6363
     64To install Quicklisp for ABCL in the Docker container run:
     65
     66    docker run -t YOURID/abcl abcl --batch --load /home/abcl/work/abcl/ci/install-quicklisp.lisp
     67
    6468See <file:Dockerfile> for the build instructions.
    6569
Note: See TracChangeset for help on using the changeset viewer.