Ignore:
Timestamp:
12/25/16 13:29:44 (5 years ago)
Author:
Mark Evenson
Message:

docker: ensure that <file:/usr/local/bin/abcl> refers to an executable abcl

Images descending from this one should now be able to refer to "abcl"
in CMD/RUN invocations, simplifying the association of dependencies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/Dockerfile

    r14923 r14924  
    2626RUN JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 cd ${work}/abcl && ant clean && ant abcl
    2727
    28 ENV abcl.exec.path  "${work}/abcl/abcl"
     28ENV abcl_exec_path  "${work}/abcl/abcl"
     29
     30USER root
     31RUN ln -s ${abcl_exec_path} /usr/local/bin/abcl
    2932
    3033USER abcl
    31 CMD [ "/home/abcl/work/abcl/abcl", "--eval", "(loop :doing (sleep 1))" ]
     34CMD [ "${abcl_exec_path}", "--eval", "(loop :doing (sleep 1))" ]
    3235
    3336
Note: See TracChangeset for help on using the changeset viewer.