mirror of
https://github.com/QingdaoU/JudgeServer.git
synced 2025-11-04 14:50:01 +08:00
bug fix: php Directory nonexistent
fixed problem as follow, ``` #7 1191.2 Processing triggers for php8.1-cli (8.1.11-1+ubuntu18.04.1+deb.sury.org+2) ... #7 1191.3 update-alternatives: using /usr/bin/gcc-9 to provide /usr/bin/gcc (gcc) in auto mode #7 1191.3 update-alternatives: using /usr/bin/g++-9 to provide /usr/bin/g++ (g++) in auto mode #7 1191.3 /bin/sh: 1: cannot create /etc/php/8.0/cli/conf.d/10-opcache-jit.ini: Directory nonexistent ------ executor failed running [/bin/sh -c buildDeps='software-properties-common git libtool cmake python-dev python3-pip python-pip libseccomp-dev curl' && apt-get update && apt-get install -y python python3 python-pkg-resources python3-pkg-resources $buildDeps && add-apt-repository ppa:openjdk-r/ppa && add-apt-repository ppa:longsleep/golang-backports && add-apt-repository ppa:ubuntu-toolchain-r/test && add-apt-repository ppa:ondrej/php && curl -fsSL https://deb.nodesource.com/setup_14.x | bash - && apt-get update && apt-get install -y golang-go openjdk-11-jdk php-cli nodejs gcc-9 g++-9 && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 40 && update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 40 && phpJitOption='opcache.enable=1\nopcache.enable_cli=1\nopcache.jit=1205\nopcache.jit_buffer_size=64M' && echo $phpJitOption > /etc/php/8.0/cli/conf.d/10-opcache-jit.ini && pip3 install -i https://mirrors.aliyun.com/pypi/simple/ -I --no-cache-dir psutil gunicorn flask requests idna && cd /tmp && git clone -b newnew --depth 1 https://gitee.com/qduoj/Judger.git && cd Judger && mkdir build && cd build && cmake .. && make && make install && cd ../bindings/Python && python3 setup.py install && apt-get purge -y --auto-remove $buildDeps && apt-get clean && rm -rf /var/lib/apt/lists/* && mkdir -p /code && useradd -u 12001 compiler && useradd -u 12002 code && useradd -u 12003 spj && usermod -a -G code spj]: exit code: 2 ```
This commit is contained in:
parent
6a45225d0e
commit
4dc041b9a3
@ -13,6 +13,7 @@ RUN buildDeps='software-properties-common git libtool cmake python-dev python3-p
|
||||
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 40 && \
|
||||
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 40 && \
|
||||
phpJitOption='opcache.enable=1\nopcache.enable_cli=1\nopcache.jit=1205\nopcache.jit_buffer_size=64M' && \
|
||||
mkdir -p /etc/php/8.0/cli/conf.d/ && \
|
||||
echo $phpJitOption > /etc/php/8.0/cli/conf.d/10-opcache-jit.ini && \
|
||||
pip3 install -i https://mirrors.aliyun.com/pypi/simple/ -I --no-cache-dir psutil gunicorn flask requests idna && \
|
||||
cd /tmp && git clone -b newnew --depth 1 https://gitee.com/qduoj/Judger.git && cd Judger && \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user