Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
data_report
/
data-report
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f671016c
authored
Oct 26, 2026
by
周立明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
构建加速
1 parent
2cf838ae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
data-process/Dockerfile
data-process/Dockerfile
View file @
f671016
FROM
python:3.11-slim
ENV
PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1 \
PIP_DISABLE_PIP_VERSION_CHECK=1 \
TZ=Asia/Shanghai
WORKDIR
/app
RUN
sed -i
\
-e
's@deb.debian.org@mirrors.aliyun.com@g'
\
-e
's@security.debian.org@mirrors.aliyun.com@g'
\
/etc/apt/sources.list.d/debian.sources
\
&&
apt-get update
\
&&
apt-get install -y --no-install-recommends
\
gcc
\
g++
\
libffi-dev
\
libssl-dev
\
tzdata
\
&&
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
\
&&
echo
"Asia/Shanghai"
> /etc/timezone
\
&&
rm -rf /var/lib/apt/lists/
*
FROM
harbortest.glsx.com.cn/glsx/base_data_process:v1.1.0
#
#
ENV PYTHONDONTWRITEBYTECODE=1 \
#
PYTHONUNBUFFERED=1 \
#
PIP_NO_CACHE_DIR=1 \
#
PIP_DISABLE_PIP_VERSION_CHECK=1 \
#
TZ=Asia/Shanghai
#
#
WORKDIR /app
#
#
RUN sed -i \
#
-e 's@deb.debian.org@mirrors.aliyun.com@g' \
#
-e 's@security.debian.org@mirrors.aliyun.com@g' \
#
/etc/apt/sources.list.d/debian.sources \
#
&& apt-get update \
#
&& apt-get install -y --no-install-recommends \
#
gcc \
#
g++ \
#
libffi-dev \
#
libssl-dev \
#
tzdata \
#
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
#
&& echo "Asia/Shanghai" > /etc/timezone \
#
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN
pip install -i https://mirrors.aliyun.com/pypi/simple/ --no-cache-dir --upgrade pip setuptools wheel
\
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment