Container with Golang, golangci-lint and prebuilt tdlib. Useful for building and linting Golang apps using Telegram client libraries.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
383 B

  1. FROM golangci/golangci-lint:v1.21 AS build
  2. LABEL maintainer=""
  3. COPY --from=fat0troll/tdlib /usr/local/include/td /usr/local/include/td
  4. COPY --from=fat0troll/tdlib /usr/local/lib/libtd* /usr/local/lib/
  5. RUN apt-get update && apt-get -y install libssl-dev cmake zlib1g-dev g++
  6. RUN apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/apt/lists/*