Skip to content

Commit d5de1ec

Browse files
committed
Fix arm again
1 parent ecbb6b0 commit d5de1ec

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/call-build-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
app_name: "simplelogin"
1515
release_type: "github"
1616
release_url: "https://api.github.com/repos/simple-login/app"
17-
target-arch: "amd64"
17+
target-arch: "64"
1818
secrets:
1919
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ ENV PATH="$HOME/.local/bin:/code/.venv/bin:$PATH"
4747
RUN \
4848
echo "**** install build packages ****" && \
4949
apt-get update && \
50-
apt-get install -y \
50+
apt-get install -y --no-install-recommends \
5151
gcc \
5252
git \
5353
libre2-dev \
@@ -57,7 +57,11 @@ RUN \
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-
uv sync --locked && \
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 && \
6165
echo "**** install runtime packages ****" && \
6266
apt-get install -y \
6367
gnupg \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The architectures supported by this image are:
5151
| Architecture | Available | Tag |
5252
| :----: | :----: | ---- |
5353
| x86-64 || latest |
54-
| arm64 | | latest |
54+
| arm64 | | latest |
5555

5656
## Application Setup
5757

0 commit comments

Comments
 (0)