Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9aea2b2bf6 | ||
|
|
91237441ee |
+3
-1
@@ -1,5 +1,6 @@
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN apk add --no-cache openssl-dev linux-headers zlib-dev gcc gperf cmake build-base git libstdc++ \
|
RUN apk update \
|
||||||
|
&& apk add --no-cache openssl-dev linux-headers zlib-dev gcc gperf cmake build-base git libstdc++ \
|
||||||
&& git clone --recursive https://github.com/tdlib/telegram-bot-api.git \
|
&& git clone --recursive https://github.com/tdlib/telegram-bot-api.git \
|
||||||
&& cd telegram-bot-api \
|
&& cd telegram-bot-api \
|
||||||
&& mkdir build \
|
&& mkdir build \
|
||||||
@@ -7,6 +8,7 @@ RUN apk add --no-cache openssl-dev linux-headers zlib-dev gcc gperf cmake build-
|
|||||||
&& cmake -DCMAKE_BUILD_TYPE=Release .. \
|
&& cmake -DCMAKE_BUILD_TYPE=Release .. \
|
||||||
&& cmake --build . -j 4 --target install \
|
&& cmake --build . -j 4 --target install \
|
||||||
&& apk del linux-headers gcc gperf cmake build-base git \
|
&& apk del linux-headers gcc gperf cmake build-base git \
|
||||||
|
&& cd ../.. \
|
||||||
&& rm -r ./telegram-bot-api
|
&& rm -r ./telegram-bot-api
|
||||||
RUN adduser --no-create-home --uid 2000 --disabled-password tg-bot \
|
RUN adduser --no-create-home --uid 2000 --disabled-password tg-bot \
|
||||||
&& mkdir -p /opt/telegram-bot-api \
|
&& mkdir -p /opt/telegram-bot-api \
|
||||||
|
|||||||
Reference in New Issue
Block a user