Skip to content

Instantly share code, notes, and snippets.

@luginbash
Created September 12, 2021 05:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luginbash/3d9bc66daab73cb00a057f980c7e87e6 to your computer and use it in GitHub Desktop.
Save luginbash/3d9bc66daab73cb00a057f980c7e87e6 to your computer and use it in GitHub Desktop.
telegram-bot-api
FROM alpine:latest
WORKDIR /build
COPY . /build
RUN apk add --no-cache --virtual .build-deps \
alpine-sdk cmake gperf openssl-dev zlib-dev linux-headers \
&& mkdir build && cd build \
&& cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr/local .. \
&& cmake --build . --target install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment