From 403c6534888f173199b30b924fd8b0026529e455 Mon Sep 17 00:00:00 2001 From: jerolin Date: Thu, 10 Aug 2023 16:47:03 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8DDockerfile=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/projects/analysis/Dockerfile | 6 ------ server/projects/file/Dockerfile | 6 ------ server/projects/login/Dockerfile | 6 ------ server/projects/main/Dockerfile | 6 ------ server/projects/scmproxy/Dockerfile | 6 ------ 5 files changed, 30 deletions(-) diff --git a/server/projects/analysis/Dockerfile b/server/projects/analysis/Dockerfile index bba34c6e1..2a1cd09af 100644 --- a/server/projects/analysis/Dockerfile +++ b/server/projects/analysis/Dockerfile @@ -1,10 +1,5 @@ FROM python:3.7-slim-bullseye -# RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak && \ -# echo 'deb http://mirrors.tencent.com/debian/ bullseye main non-free contrib' > /etc/apt/sources.list && \ -# echo 'deb http://mirrors.tencent.com/debian/ bullseye-updates main non-free contrib' >> /etc/apt/sources.list && \ -# echo 'deb http://mirrors.tencent.com/debian-security bullseye-security main non-free contrib' >> /etc/apt/sources.list - ARG EXTRA_TOOLS="gnupg curl wget jq net-tools procps default-libmysqlclient-dev locales inotify-tools gcc telnet iputils-ping vim openssh-client" RUN set -ex && cd / \ @@ -25,6 +20,5 @@ WORKDIR /var/www/django/codedog COPY . . RUN mkdir -p log/ && \ - mkdir ~/.pip/ && echo "[global]\nindex-url = https://mirrors.cloud.tencent.com/pypi/simple" >> ~/.pip/pip.conf && \ pip install -U setuptools pip && \ pip install -r requirements.txt \ No newline at end of file diff --git a/server/projects/file/Dockerfile b/server/projects/file/Dockerfile index bba34c6e1..2a1cd09af 100644 --- a/server/projects/file/Dockerfile +++ b/server/projects/file/Dockerfile @@ -1,10 +1,5 @@ FROM python:3.7-slim-bullseye -# RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak && \ -# echo 'deb http://mirrors.tencent.com/debian/ bullseye main non-free contrib' > /etc/apt/sources.list && \ -# echo 'deb http://mirrors.tencent.com/debian/ bullseye-updates main non-free contrib' >> /etc/apt/sources.list && \ -# echo 'deb http://mirrors.tencent.com/debian-security bullseye-security main non-free contrib' >> /etc/apt/sources.list - ARG EXTRA_TOOLS="gnupg curl wget jq net-tools procps default-libmysqlclient-dev locales inotify-tools gcc telnet iputils-ping vim openssh-client" RUN set -ex && cd / \ @@ -25,6 +20,5 @@ WORKDIR /var/www/django/codedog COPY . . RUN mkdir -p log/ && \ - mkdir ~/.pip/ && echo "[global]\nindex-url = https://mirrors.cloud.tencent.com/pypi/simple" >> ~/.pip/pip.conf && \ pip install -U setuptools pip && \ pip install -r requirements.txt \ No newline at end of file diff --git a/server/projects/login/Dockerfile b/server/projects/login/Dockerfile index bba34c6e1..2a1cd09af 100644 --- a/server/projects/login/Dockerfile +++ b/server/projects/login/Dockerfile @@ -1,10 +1,5 @@ FROM python:3.7-slim-bullseye -# RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak && \ -# echo 'deb http://mirrors.tencent.com/debian/ bullseye main non-free contrib' > /etc/apt/sources.list && \ -# echo 'deb http://mirrors.tencent.com/debian/ bullseye-updates main non-free contrib' >> /etc/apt/sources.list && \ -# echo 'deb http://mirrors.tencent.com/debian-security bullseye-security main non-free contrib' >> /etc/apt/sources.list - ARG EXTRA_TOOLS="gnupg curl wget jq net-tools procps default-libmysqlclient-dev locales inotify-tools gcc telnet iputils-ping vim openssh-client" RUN set -ex && cd / \ @@ -25,6 +20,5 @@ WORKDIR /var/www/django/codedog COPY . . RUN mkdir -p log/ && \ - mkdir ~/.pip/ && echo "[global]\nindex-url = https://mirrors.cloud.tencent.com/pypi/simple" >> ~/.pip/pip.conf && \ pip install -U setuptools pip && \ pip install -r requirements.txt \ No newline at end of file diff --git a/server/projects/main/Dockerfile b/server/projects/main/Dockerfile index bba34c6e1..2a1cd09af 100644 --- a/server/projects/main/Dockerfile +++ b/server/projects/main/Dockerfile @@ -1,10 +1,5 @@ FROM python:3.7-slim-bullseye -# RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak && \ -# echo 'deb http://mirrors.tencent.com/debian/ bullseye main non-free contrib' > /etc/apt/sources.list && \ -# echo 'deb http://mirrors.tencent.com/debian/ bullseye-updates main non-free contrib' >> /etc/apt/sources.list && \ -# echo 'deb http://mirrors.tencent.com/debian-security bullseye-security main non-free contrib' >> /etc/apt/sources.list - ARG EXTRA_TOOLS="gnupg curl wget jq net-tools procps default-libmysqlclient-dev locales inotify-tools gcc telnet iputils-ping vim openssh-client" RUN set -ex && cd / \ @@ -25,6 +20,5 @@ WORKDIR /var/www/django/codedog COPY . . RUN mkdir -p log/ && \ - mkdir ~/.pip/ && echo "[global]\nindex-url = https://mirrors.cloud.tencent.com/pypi/simple" >> ~/.pip/pip.conf && \ pip install -U setuptools pip && \ pip install -r requirements.txt \ No newline at end of file diff --git a/server/projects/scmproxy/Dockerfile b/server/projects/scmproxy/Dockerfile index 68990afbc..81263c801 100644 --- a/server/projects/scmproxy/Dockerfile +++ b/server/projects/scmproxy/Dockerfile @@ -1,10 +1,5 @@ FROM python:3.7-slim-bullseye -# RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak && \ -# echo 'deb http://mirrors.tencent.com/debian/ bullseye main non-free contrib' > /etc/apt/sources.list && \ -# echo 'deb http://mirrors.tencent.com/debian/ bullseye-updates main non-free contrib' >> /etc/apt/sources.list && \ -# echo 'deb http://mirrors.tencent.com/debian-security bullseye-security main non-free contrib' >> /etc/apt/sources.list - ARG EXTRA_TOOLS="gnupg curl wget jq net-tools procps default-libmysqlclient-dev locales inotify-tools gcc git subversion telnet iputils-ping vim openssh-client" RUN set -ex && cd / \ @@ -25,6 +20,5 @@ WORKDIR /var/www/django/codedog COPY . . RUN mkdir -p log/ && \ - mkdir ~/.pip/ && echo "[global]\nindex-url = https://mirrors.cloud.tencent.com/pypi/simple" >> ~/.pip/pip.conf && \ pip install -U setuptools pip && \ pip install -r requirements.txt \ No newline at end of file