From e6be446e3fce0680c36ffcd12305863c74d935b6 Mon Sep 17 00:00:00 2001 From: Terekhin Alexandr Date: Mon, 30 May 2022 00:36:58 +0300 Subject: [PATCH] Update readme, use more threads on build Signed-off-by: didinst <9f6129a2ddff0d0c6d03169eaa75e3fea1c1770f> --- Dockerfile | 2 +- README.md | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6504036..6c571d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apk update && apk --no-cache upgrade \ && mkdir build \ && cd build \ && cmake -DCMAKE_BUILD_TYPE=Release .. \ - && cmake --build . -j 4 --target install \ + && cmake --build . -j 8 --target install \ && apk del linux-headers gcc gperf cmake build-base git \ && cd ../.. \ && rm -r ./telegram-bot-api diff --git a/README.md b/README.md index 96856ae..a33e198 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,6 @@ Get buidlx here https://github.com/docker/buildx Buildix documentation here https://docs.docker.com/buildx/working-with-buildx/ Run image -`docker run --privileged --rm docker/binfmt` -Or (alternative) `docker run --privileged --rm multiarch/qemu-user-static:latest` Create profile (linux/arm/v7 used as example)