FROM ubuntu:latest
RUN apt-get update && apt-get upgrade -y
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Madrid
RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:ondrej/php
RUN apt-get update && apt-get install -y \
libopus-dev libssl-dev build-essential php7.4-dev php7.4-cli git
RUN git clone https://github.com/copernicamarketingsoftware/PHP-CPP
RUN sed 's/php-config/php-config7.4/g' -i PHP-CPP/Makefile
RUN make -C PHP-CPP -j$(nproc)
RUN make -C PHP-CPP install
RUN git clone --recursive https://github.com/danog/php-libtgvoip
RUN make -C php-libtgvoip
RUN make -C php-libtgvoip install
I have this error when I execute a Dockerfile:
The Dockerfile contents:
Can you help me?