FROM lab.wtfteam.pro:4567/containers/golangci-lint AS build
LABEL maintainer="vladimir@hodakov.me"
COPY --from=lab.wtfteam.pro:4567/containers/tdlib /usr/local/include/td /usr/local/include/td
COPY --from=lab.wtfteam.pro:4567/containers/tdlib /usr/local/lib/libtd* /usr/local/lib/
RUN apk update && apk add --no-cache git gcc libc-dev g++ make openssl-dev zlib-dev && rm -rf /var/cache/apk/*