-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: load test docker build error in GCP
- Loading branch information
Showing
1 changed file
with
1 addition
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,9 +8,7 @@ LABEL org.opencontainers.image.authors="[email protected]" | |
# Add gcc since there are no wheels for some packages for arm64/aarch64 | ||
# (g++/make for gevent on pypy) | ||
RUN apt-get update && apt-get install -y git && \ | ||
if [ -n "$(arch | grep 'arm64\|aarch64')" ]; then \ | ||
apt install -y --no-install-recommends gcc g++ make python3-dev; \ | ||
fi | ||
apt install -y --no-install-recommends gcc g++ make python3-dev | ||
|
||
ENV LANG=C.UTF-8 | ||
ENV PYTHONUNBUFFERED=1 | ||
|