Skip to content

Commit

Permalink
Use alpine for building words
Browse files Browse the repository at this point in the history
Glibc seems to run into SIGSYS. Musl also makes it slightly smaller.
  • Loading branch information
ids1024 committed Jan 27, 2024
1 parent d2943dc commit d9b100a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build-words-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ echo "Words built in src/main/assets/words."

rm -rf libs
mkdir -p libs/arm64-v8a
cp src/main/assets/words/words libs/arm64-v8a/libwords.so
mv src/main/assets/words/words libs/arm64-v8a/libwords.so
echo "Copied to libs/"
4 changes: 2 additions & 2 deletions words/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# podman build --arch arm64 --tag words-build .

# Issue with dos2unix version in jammy
FROM ubuntu:mantic
RUN apt-get update && apt-get install -y gnat-12 unzip wget dos2unix
FROM alpine:edge
RUN apk update && apk add gcc-gnat unzip wget dos2unix musl-dev

0 comments on commit d9b100a

Please sign in to comment.