Skip to content

Commit 2eff947

Browse files
committed
Fix build
1 parent f603faf commit 2eff947

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

Dockerfile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,27 +49,23 @@ RUN \
4949
apt-get update && \
5050
apt-get install -y --no-install-recommends \
5151
clang \
52-
gcc \
52+
gcc-10 \
5353
git \
5454
libre2-dev \
5555
ninja-build \
5656
pkg-config && \
5757
curl -o /tmp/uv-installer.sh -L https://astral.sh/uv/install.sh && \
5858
sh /tmp/uv-installer.sh && \
5959
uv python install `cat .python-version` && \
60-
case "$(uname -m)" in \
61-
'x86_64') export ARGS='' ;; \
62-
'aarch64') export ARGS='--no-install-package pycryptodome' ;; \
63-
esac && \
64-
uv sync --no-dev --locked --no-cache $ARGS && \
60+
uv sync --no-dev --locked --no-cache && \
6561
echo "**** install runtime packages ****" && \
6662
apt-get install -y \
6763
gnupg \
6864
libre2-10 && \
6965
echo "**** cleanup ****" && \
7066
apt-get purge -y \
7167
clang \
72-
gcc \
68+
gcc-10 \
7369
git \
7470
libre2-dev \
7571
ninja-build \

0 commit comments

Comments
 (0)