From 7a48571d8bd4a1be1eb8ad8505d3e58c366dec9b Mon Sep 17 00:00:00 2001 From: Harry-zklcdc <1269158832@qq.com> Date: Wed, 8 Jul 2020 11:18:49 +0800 Subject: [PATCH] [Fix] Problem --- Dockerfile | 1 - Dockerfile-cn | 1 - 2 files changed, 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 96ddc29..b6ad31c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,6 @@ RUN buildDeps='software-properties-common git libtool cmake python-dev python3-p 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/* && \ - ln -s /usr/bin/gcc-9 /usr/bin/gcc && ln -s /usr/bin/g++-9 /usr/bin/g++ && \ mkdir -p /code && \ useradd -u 12001 compiler && useradd -u 12002 code && useradd -u 12003 spj && usermod -a -G code spj HEALTHCHECK --interval=5s --retries=3 CMD python3 /code/service.py diff --git a/Dockerfile-cn b/Dockerfile-cn index 28c1737..b78fe6f 100644 --- a/Dockerfile-cn +++ b/Dockerfile-cn @@ -13,7 +13,6 @@ RUN apt-get update && apt-get install -y wget && wget https://raw.githubusercont mkdir build && cd build && cmake .. && make && make install && cd ../bindings/Python && python3 setup.py install && \ apt-get purge -y --auto-remove wget $buildDeps && \ apt-get clean && rm -rf /var/lib/apt/lists/* && \ - ln -s /usr/bin/gcc-9 /usr/bin/gcc && ln -s /usr/bin/g++-9 /usr/bin/g++ && \ mkdir -p /code && \ useradd -u 12001 compiler && useradd -u 12002 code && useradd -u 12003 spj && usermod -a -G code spj