Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
mentha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rank
mentha
Commits
28ffec54
Commit
28ffec54
authored
Mar 10, 2021
by
臧远慧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
触发重新部署
parent
3d11726f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
Dockerfile
Dockerfile
+5
-6
No files found.
Dockerfile
View file @
28ffec54
FROM
ccr.ccs.tencentyun.com/gm-base/gm-alpine-ffmpeg:v1.
2
FROM
ccr.ccs.tencentyun.com/gm-base/gm-alpine-ffmpeg:v1.
1
MAINTAINER
wph [wangpenghong@igengmei.com]
...
...
@@ -28,23 +28,21 @@ RUN apk add --no-cache --virtual .build-deps \
tk-dev
\
xz-dev
\
zlib-dev
\
# 业务相关依赖和安装工具
linux-headers \
musl-dev
\
python-dev
\
openssl-dev
\
python3-dev \
librdkafka-dev \
mariadb-client \
mariadb-dev \
git \
openssh \
cargo
\
g++ \
linux-headers
\
\
&& apk add --no-cache jpeg-dev zlib-dev freetype-dev lcms2-dev openjpeg-dev tiff-dev tk-dev tcl-dev \
# 取消ssh第一次链接的确认
&& echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config \
&& apk add --no-cache mariadb-connector-c-dev libxml2-dev libxslt-dev librdkafka-dev \
# && pip install --no-cache-dir -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com -r /tmp/requirements.txt \
&& pip install --no-cache-dir -i https://pypi-1609228582764:0ca4878446d984cb4d8046f980ea0bfadffec639@gengmei-pypi.pkg.coding.net/tob/pypi/simple pytest-runner==5.1 \
&& pip install --no-cache-dir -i https://pypi-1609228582764:0ca4878446d984cb4d8046f980ea0bfadffec639@gengmei-pypi.pkg.coding.net/tob/pypi/simple -r /tmp/requirements.txt \
&& mkdir -p /tmp/video_convert \
...
...
@@ -57,6 +55,7 @@ COPY . /srv/apps/mentha/
WORKDIR
/srv/apps/mentha/
RUN
cat
requirements.txt |
grep
master
>
/tmp/gm-requirements.txt
\
# && pip install --no-deps --upgrade -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com -r /tmp/gm-requirements.txt
\
&&
pip
install
--no-deps
--upgrade
-i
https://pypi-1609228582764:0ca4878446d984cb4d8046f980ea0bfadffec639@gengmei-pypi.pkg.coding.net/tob/pypi/simple
-r
/tmp/gm-requirements.txt
\
&&
apk del .build-deps
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment