ubuntu 22.04 php 8.1
Esse commit está contido em:
@@ -4,11 +4,11 @@ RUN apt update && apt install -y wget pkg-config cmake git checkinstall
|
||||
|
||||
RUN wget https://raw.githubusercontent.com/php-opencv/php-opencv-packages/master/opencv_4.5.0_amd64.deb && dpkg -i opencv_4.5.0_amd64.deb && rm opencv_4.5.0_amd64.deb
|
||||
|
||||
RUN apt install -y software-properties-common && add-apt-repository ppa:ondrej/php && apt update && export DEBIAN_FRONTEND=noninteractive && apt install -y php8.0 php8.0-dev
|
||||
RUN apt update && apt install -y software-properties-common && add-apt-repository ppa:ondrej/php && apt update && export DEBIAN_FRONTEND=noninteractive && apt install -y php8.0 php8.0-dev
|
||||
|
||||
RUN git clone https://github.com/php-opencv/php-opencv.git
|
||||
|
||||
RUN cd php-opencv && phpize && ./configure --with-php-config=/usr/bin/php-config && make
|
||||
RUN cd php-opencv && git checkout php8.0 && phpize && ./configure --with-php-config=/usr/bin/php-config && make
|
||||
|
||||
#build deb package:
|
||||
|
||||
|
||||
+3
-5
@@ -1,16 +1,14 @@
|
||||
FROM ubuntu:22.10
|
||||
FROM ubuntu:22.04
|
||||
|
||||
RUN apt update && apt install -y wget pkg-config cmake git checkinstall
|
||||
|
||||
RUN wget https://raw.githubusercontent.com/php-opencv/php-opencv-packages/master/opencv_4.5.0_amd64.deb && dpkg -i opencv_4.5.0_amd64.deb && rm opencv_4.5.0_amd64.deb
|
||||
|
||||
RUN apt update && apt install -y software-properties-common
|
||||
|
||||
RUN export DEBIAN_FRONTEND=noninteractive && apt install -y php8.1 php8.1-dev
|
||||
RUN apt update && apt install -y software-properties-common && add-apt-repository ppa:ondrej/php && apt update && export DEBIAN_FRONTEND=noninteractive && apt install -y php8.1 php8.1-dev
|
||||
|
||||
RUN git clone https://github.com/php-opencv/php-opencv.git
|
||||
|
||||
RUN cd php-opencv && phpize && ./configure --with-php-config=/usr/bin/php-config && make
|
||||
RUN cd php-opencv && git checkout php8.1 && phpize && ./configure --with-php-config=/usr/bin/php-config && make
|
||||
|
||||
#build deb package:
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário