mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-13 19:52:18 +00:00
* fix gh action timeout; delete old actions; * fix gh action timeout; delete old actions;
18 lines
No EOL
660 B
Docker
18 lines
No EOL
660 B
Docker
FROM ubuntu:20.04
|
|
|
|
RUN apt update
|
|
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
|
|
RUN apt install -y build-essential cmake clang openssl libssl-dev zlib1g-dev gperf wget git curl libreadline-dev ccache libmicrohttpd-dev ninja-build
|
|
|
|
WORKDIR /
|
|
|
|
RUN git clone --recurse-submodules https://github.com/ton-blockchain/ton.git
|
|
|
|
WORKDIR /ton
|
|
RUN mkdir /ton/build
|
|
WORKDIR /ton/build
|
|
ENV CC clang
|
|
ENV CXX clang++
|
|
ENV CCACHE_DISABLE 1
|
|
RUN cmake -GNinja -DCMAKE_BUILD_TYPE=Release ..
|
|
RUN ninja tonlibjson blockchain-explorer fift func validator-engine validator-engine-console create-state generate-random-id create-hardfork dht-server lite-client |