catchpoint / WebPageTest

Official repository for WebPageTest
Other
3.08k stars 715 forks source link

The problem that sudo docker-compose up does not work normally in Ubuntu 20.04 #2957

Open kimsangsoo opened 1 year ago

kimsangsoo commented 1 year ago

[+] Building 7.9s (14/39) docker:default => [internal] load build definition from Dockerfile-php 0.0s => => transferring dockerfile: 36B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 34B 0.0s => [internal] load metadata for docker.io/library/php:7.4-fpm-alpine 1.5s => [internal] load metadata for docker.io/library/alpine:3.13 1.5s => [internal] load build context 0.5s => => transferring context: 1.41MB 0.4s => CACHED [stage-1 1/26] FROM docker.io/library/php:7.4-fpm-alpine@sha256:0aeb129a60daff2874c5c70fcd9d88cdf3015b4fb4cc7c3f1a32a21e84631036 0.0s => [build 1/8] FROM docker.io/library/alpine:3.13@sha256:469b6e04ee185740477efa44ed5bdd64a07bbdd6c7e5f5d169e540889597b911 0.0s => CACHED [build 2/8] RUN apk add --no-cache --update build-base coreutils fdk-aac-dev freetype-dev gcc lame-dev libgomp libogg-de 0.0s => CACHED [build 3/8] RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories && echo http://dl-cdn.alpinelinux.org/alpine/edge/ 0.0s => CACHED [build 4/8] WORKDIR /tmp/ 0.0s => CACHED [build 5/8] RUN wget --progress=dot:giga http://ffmpeg.org/releases/ffmpeg-4.3.2.tar.gz && tar zxf ffmpeg-4.3.2.tar.gz && rm ffmpeg-4.3.2.tar.gz 0.0s => CACHED [build 6/8] WORKDIR /tmp/ffmpeg-4.3.2 0.0s => ERROR [build 7/8] RUN ./configure --enable-version3 --enable-gpl --enable-nonfree --enable-small --enable-libmp3lame --enable-libx264 6.1s => CANCELED [stage-1 2/26] RUN apk add --no-cache supervisor beanstalkd zip libzip python3 libtheora rtmpdump x264-dev x265-dev libpng libjpeg imagemagick im 6.3s

[build 7/8] RUN ./configure --enable-version3 --enable-gpl --enable-nonfree --enable-small --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libopus --enable-libfdk-aac --enable-libass --enable-libwebp --enable-librtmp --enable-librav1e --enable-postproc --enable-avresample --enable-libfreetype --enable-filter=scale --enable-filter=decimate --enable-openssl --disable-debug --disable-doc --disable-ffplay --extra-cflags="-I/opt/ffmpeg/include" --extra-ldflags="-L/opt/ffmpeg/lib" --extra-libs="-lpthread -lm" --prefix="/opt/ffmpeg" && make && make install && make distclean: 5.154 ERROR: rav1e >= 0.1.0 not found using pkg-config 5.155 5.155 If you think configure made a mistake, make sure you are using the latest 5.155 version from Git. If the latest version fails, report the problem to the 5.155 ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. 5.156 Include the log file "ffbuild/config.log" produced by configure as this will help 5.156 solve the problem.

ERROR: failed to solve: executor failed running [/bin/sh -c ./configure --enable-version3 --enable-gpl --enable-nonfree --enable-small --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libopus --enable-libfdk-aac --enable-libass --enable-libwebp --enable-librtmp --enable-librav1e --enable-postproc --enable-avresample --enable-libfreetype --enable-filter=scale --enable-filter=decimate --enable-openssl --disable-debug --disable-doc --disable-ffplay --extra-cflags="-I${PREFIX}/include" --extra-ldflags="-L${PREFIX}/lib" --extra-libs="-lpthread -lm" --prefix="${PREFIX}" && make && make install && make distclean]: exit code: 1 ERROR: Service 'php' failed to build : Build failed

andysavdt commented 1 year ago

I am getting the same error, is there any fix for this, or any workaround?