Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 修复Dockerfile配置 #890

Merged
merged 1 commit into from
Aug 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions server/projects/analysis/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 / \
Expand All @@ -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
6 changes: 0 additions & 6 deletions server/projects/file/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 / \
Expand All @@ -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
6 changes: 0 additions & 6 deletions server/projects/login/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 / \
Expand All @@ -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
6 changes: 0 additions & 6 deletions server/projects/main/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 / \
Expand All @@ -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
6 changes: 0 additions & 6 deletions server/projects/scmproxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 / \
Expand All @@ -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
Loading