Fixes: arm crossbuild commandline err, env-file, readme

Signed-off-by: Terekhin Alexandr <alex@bearns.me>
This commit is contained in:
2021-03-28 12:20:41 +03:00
parent bc6e5a5c55
commit 1ab28107a1
3 changed files with 9 additions and 6 deletions
+2 -2
View File
@@ -5,12 +5,12 @@ RUN apk add --no-cache openssl-dev linux-headers zlib-dev gcc gperf cmake build-
&& mkdir build \
&& cd build \
&& cmake -DCMAKE_BUILD_TYPE=Release .. \
&& cmake --build . --target install \
&& cmake --build . -j 4 --target install \
&& apk del linux-headers gcc gperf cmake build-base git \
&& rm -r ./telegram-bot-api
RUN adduser --no-create-home --uid 2000 --disabled-password tg-bot \
&& mkdir -p /opt/telegram-bot-api \
&& chown tg-bot:tg-bot /opt/telegram-bot-api
&& chown tg-bot /opt/telegram-bot-api
ENV TELEGRAM_API_ID=""
ENV TELEGRAM_API_HASH=""