Update readme, use more threads on build
Signed-off-by: didinst <9f6129a2ddff0d0c6d03169eaa75e3fea1c1770f>
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user