Update Dockerfile

Co-authored-by: Markus Machatschek <markus.machatschek@hey.com>
This commit is contained in:
Clémentine Urquizar - curqui 2023-02-23 17:39:31 +01:00 committed by GitHub
parent bddf3f96e6
commit 5333edd1db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ ENV RUSTFLAGS="-C target-feature=-crt-static"
COPY . . COPY . .
RUN set -eux; \ RUN set -eux; \
arch="$(dpkg --print-architecture)"; \ arch="$(dpkg --print-architecture)"; \
if [ "$arch" = "aarch64" ]; then \ if [ "$arch" = "arm64" ]; then \
export JEMALLOC_SYS_WITH_LG_PAGE=16; \ export JEMALLOC_SYS_WITH_LG_PAGE=16; \
fi && \ fi && \
cargo build --release cargo build --release