-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change location-grpc-service image base to cut down build time
Here is the issue related to long grpcio build time grpc/grpc#22815
- Loading branch information
1 parent
907276d
commit c2ab527
Showing
3 changed files
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Specifically created to cut down the build time due to this: https://github.com/grpc/grpc/issues/22815 | ||
FROM python:3.7-alpine | ||
|
||
WORKDIR . | ||
|
||
RUN apk add --no-cache g++ gcc musl-dev linux-headers geos libc-dev postgresql-dev | ||
|
||
RUN pip install --upgrade pip | ||
RUN pip install --upgrade setuptools | ||
RUN pip install --no-cache-dir --force-reinstall -Iv grpcio==1.41.0 | ||
RUN pip install --no-cache-dir --force-reinstall -Iv grpcio-tools==1.41.0 | ||
|
||
CMD ["python3"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters