Open alirezag opened 3 hours ago
when I try to build a ubuntu image to compile and install the framework I get the following error while running make command.
make
docker build . -t $SERVICE_NAME -f Dockerfile.ubuntu
FROM ubuntu:24.04 LABEL project="COBOL Modernization" LABEL maintainer="Alireza Goudarzi <alireza.goudarzi@gmail.com>" RUN <<EOF apt update && apt upgrade -y apt-get install openjdk-21-jdk apt-get install openjdk-21-jre apt-get install -y default-jdk build-essential bison flex gettext texinfo libgmp-dev autoconf curl -L -o opensourcecobol4j-v1.1.2.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.2.tar.gz tar zxvf opensourcecobol4j-v1.1.2.tar.gz cd opensourcecobol4j-1.1.2 ./configure --prefix=/usr/ make sudo make install EOF # copy local directory opensourcecobo4j to /app/opensourcecobo4j COPY opensourcecobol4j /app/opensourcecobol4j ENTRYPOINT /bin/bash
has anyone been able to compile cobol4j in a docker?
when I try to build a ubuntu image to compile and install the framework I get the following error while running
make
command.