Skip to content

Commit 83b14e2

Browse files
authored
Fix arm (#6)
* Fix arm * Fix build * Cleanup
1 parent 4c3aa48 commit 83b14e2

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

Dockerfile

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,32 +48,28 @@ RUN \
4848
echo "**** install build packages ****" && \
4949
apt-get update && \
5050
apt-get install -y --no-install-recommends \
51+
clang \
5152
gcc \
5253
git \
5354
libre2-dev \
54-
pkg-config \
5555
ninja-build \
56-
clang && \
56+
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 pyre2 --no-install-package pycryptodome' ;; \
63-
esac && \
64-
uv sync --no-dev --locked $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 \
67+
clang \
7168
gcc \
7269
git \
7370
libre2-dev \
74-
pkg-config \
7571
ninja-build \
76-
clang && \
72+
pkg-config && \
7773
apt-get autoremove -y && \
7874
apt-get autoclean -y && \
7975
rm -rf \

0 commit comments

Comments
 (0)