Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ RUN curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x8

# install opensourcecobol4j
RUN cd /root &&\
curl -L -o opensourcecobol4j-v1.1.7.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.7.tar.gz &&\
tar zxvf opensourcecobol4j-v1.1.7.tar.gz &&\
cd opensourcecobol4j-1.1.7 &&\
curl -L -o opensourcecobol4j-v1.1.8.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.8.tar.gz &&\
tar zxvf opensourcecobol4j-v1.1.8.tar.gz &&\
cd opensourcecobol4j-1.1.8 &&\
./configure --prefix=/usr/ &&\
make &&\
make install &&\
rm /root/opensourcecobol4j-v1.1.7.tar.gz
rm /root/opensourcecobol4j-v1.1.8.tar.gz

# Install Open COBOL ESQL 4J
ENV PATH="$PATH:/root/.local/share/coursier/bin"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Versions :

- OS: Ubuntu
- opensource COBOL 4J: v1.1.7
- opensource COBOL 4J: v1.1.8
- Open COBOL ESQL 4J: v1.1.1

In order to "Hello World" program, run the following commands in the docker container
Expand Down
8 changes: 4 additions & 4 deletions utf8.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ RUN curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x8

# install opensourcecobol4j
RUN cd /root &&\
curl -L -o opensourcecobol4j-v1.1.7.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.7.tar.gz &&\
tar zxvf opensourcecobol4j-v1.1.7.tar.gz &&\
cd opensourcecobol4j-1.1.7 &&\
curl -L -o opensourcecobol4j-v1.1.8.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.8.tar.gz &&\
tar zxvf opensourcecobol4j-v1.1.8.tar.gz &&\
cd opensourcecobol4j-1.1.8 &&\
./configure --prefix=/usr/ --enable-utf8 &&\
touch cobj/*.m4 &&\
make &&\
make install &&\
rm /root/opensourcecobol4j-v1.1.7.tar.gz
rm /root/opensourcecobol4j-v1.1.8.tar.gz

# add sample programs
ADD cobol_sample /root/cobol_sample
Expand Down
Loading