source: tags/1.9.2/Dockerfile

Last change on this file was 15672, checked in by Mark Evenson, 15 months ago

Qualify remote registry for containerization base

This was necessary to build under Debian Podman.

File size: 723 bytes
Line 
1FROM docker.io/openjdk:17-bullseye
2
3RUN (export DEBIAN_FRONTEND='noninteractive' && \
4    apt-get update  && \
5    apt-get upgrade -y && \
6    apt-get install -y \
7    libffi-dev ant maven)
8
9USER root
10RUN useradd -ms /bin/bash abcl
11USER abcl
12
13ENV work        /home/abcl/work
14RUN mkdir -p  ${work}
15
16WORKDIR ${work}
17COPY . ${work}/abcl
18USER root
19RUN chown -R abcl:abcl ${work}
20USER abcl
21
22# Diagnostics for debugging ABCL construction
23#RUN ls -lR ${work}/abcl
24
25RUN cd ${work}/abcl && bash ci/create-abcl-properties.bash openjdk11
26
27RUN cd ${work}/abcl && ant clean && ant abcl
28ENV abcl_exec_path  "${work}/abcl/abcl"
29
30USER root
31RUN ln -s ${abcl_exec_path} /usr/local/bin/abcl
32
33USER abcl
34ENTRYPOINT [ "/usr/local/bin/abcl" ]
35
36
37
Note: See TracBrowser for help on using the repository browser.