Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale_OLD
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jovuit
funkwhale_OLD
Commits
887373c0
Verified
Commit
887373c0
authored
6 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
Fixed a docker build issue with pip 19
parent
d402a927
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
api/Dockerfile
+6
-3
6 additions, 3 deletions
api/Dockerfile
with
6 additions
and
3 deletions
api/Dockerfile
+
6
−
3
View file @
887373c0
...
...
@@ -25,15 +25,18 @@ RUN \
RUN
mkdir
/requirements
COPY
./requirements/base.txt /requirements/base.txt
# hack around https://github.com/pypa/pip/issues/6158#issuecomment-456619072
ENV
PIP_DOWNLOAD_CACHE=/noop/
RUN
\
echo
'fixing requirements file for alpine'
&&
\
sed
-i
'/Pillow/d'
/requirements/base.txt
&&
\
\
\
echo
'installing pip requirements'
&&
\
pip3
install
--no-cache-dir
--upgrade
pip
&&
\
pip3
install
--no-cache-dir
setuptools wheel
&&
\
pip3
install
--no-cache-dir
-r
/requirements/base.txt
pip3
install
--upgrade
pip
&&
\
pip3
install
setuptools wheel
&&
\
pip3
install
-r
/requirements/base.txt
&&
\
rm
-rf
$PIP_DOWNLOAD_CACHE
ARG
install_dev_deps=0
COPY
./requirements/*.txt /requirements/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment