diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 231c0b5..60702fc 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -9,6 +9,5 @@ jobs: env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - DOCKER_BUILD_PLATFORMS: classic run: | curl "https://raw.githubusercontent.com/pelias/ci-tools/master/build-docker-images.sh" | bash - diff --git a/Dockerfile b/Dockerfile index ae6dd7f..c545312 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ WORKDIR /code/libpostal # install libpostal RUN ./bootstrap.sh && \ - ./configure --datadir=/usr/share/libpostal && \ + ([ "$TARGETARCH" == "arm64" ] && ./configure --datadir=/usr/share/libpostal --disable-sse2 || ./configure --datadir=/usr/share/libpostal) \ make && make check && DESTDIR=/libpostal make install && \ ldconfig