File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM almalinux:9
3
3
SHELL ["/bin/bash" , "-c" ]
4
4
5
5
# classpath settings
6
- ENV CLASSPATH :/usr/lib/opensourcecobol4j/libcobj.jar:/usr/lib/Open-COBOL-ESQL-4j/postgresql.jar:/usr/lib/opensourcecobol4j/ocesql4j.jar
6
+ ENV CLASSPATH= :/usr/lib/opensourcecobol4j/libcobj.jar:/usr/lib/Open-COBOL-ESQL-4j/postgresql.jar:/usr/lib/opensourcecobol4j/ocesql4j.jar
7
7
RUN echo 'export CLASSPATH=:/usr/lib/opensourcecobol4j/libcobj.jar:/usr/lib/Open-COBOL-ESQL-4j/postgresql.jar:/usr/lib/Open-COBOL-ESQL-4j/ocesql4j.jar' >> ~/.bashrc
8
8
9
9
# install dependencies
@@ -21,7 +21,7 @@ RUN cd /root &&\
21
21
./configure --prefix=/usr/ &&\
22
22
make &&\
23
23
make install &&\
24
- rm .. /opensourcecobol4j-v1.1.3.tar.gz
24
+ rm /root /opensourcecobol4j-v1.1.3.tar.gz
25
25
26
26
# Install Open COBOL ESQL 4J
27
27
ENV PATH="$PATH:/root/.local/share/coursier/bin"
@@ -37,7 +37,8 @@ RUN mkdir -p /usr/lib/Open-COBOL-ESQL-4j &&\
37
37
cp /usr/lib/Open-COBOL-ESQL-4j/postgresql.jar dblibj/lib &&\
38
38
./configure --prefix=/usr/ &&\
39
39
make &&\
40
- make install
40
+ make install &&\
41
+ rm -rf /root/Open-COBOL-ESQL-4j-1.1.1
41
42
42
43
# add sample programs
43
44
ADD cobol_sample /root/cobol_sample
You can’t perform that action at this time.
0 commit comments