Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-pillow
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
python-pillow
Commits
211b7469
Commit
211b7469
authored
May 08, 2020
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parents
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
Dockerfile
+38
-0
No files found.
Dockerfile
0 → 100644
View file @
211b7469
FROM
alpine
RUN
apk
--no-cache
add python3
\
build-base
\
python3-dev
\
# wget dependency
openssl \
# dev dependencies
git \
bash \
sudo \
py3-pip \
# Pillow dependencies
jpeg-dev \
zlib-dev \
freetype-dev \
lcms2-dev \
openjpeg-dev \
tiff-dev \
tk-dev \
tcl-dev \
harfbuzz-dev \
fribidi-dev
ADD
depends /depends
RUN
cd
/depends
&&
./install_webp.sh
&&
./install_imagequant.sh
&&
./install_raqm.sh
RUN
/usr/sbin/adduser
-D
pillow
&&
\
pip3 install virtualenv
&&
virtualenv /vpy3
&&
\
/vpy3/bin/pip install
--upgrade
pip
&&
\
/vpy3/bin/pip install olefile pytest pytest-cov
&&
\
/vpy3/bin/pip install numpy
--only-binary
=
:all:
||
true
&&
\
chown
-R
pillow:pillow /vpy3
USER
pillow
CMD
["depends/test.sh"]
\ No newline at end of file
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