fix: use gcc-10 in release dev build (#4741)

This commit is contained in:
discord9
2024-09-19 17:34:06 +08:00
committed by GitHub
parent 0295f8dbea
commit d0f5b2ad7d

View File

@@ -24,6 +24,10 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
python3.10 \
python3.10-dev
# https://github.com/GreptimeTeam/greptimedb/actions/runs/10935485852/job/30357457188#step:3:7106
# `aws-lc-sys` require gcc >= 10.3.0 to work, hence alias to use gcc-10
RUN alias gcc="gcc-10" && alias cc="gcc-10"
# Remove Python 3.8 and install pip.
RUN apt-get -y purge python3.8 && \
apt-get -y autoremove && \