-
Notifications
You must be signed in to change notification settings - Fork 38
Closed
Description
when I try to build a ubuntu image to compile and install the framework I get the following error while running make command.
docker build . -t $SERVICE_NAME -f Dockerfile.ubuntuFROM 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

kio-watanabe
Metadata
Metadata
Assignees
Labels
No labels