Skip to content

Commit 2fe5765

Browse files
committed
Used different base image; updated README
1 parent fdccef0 commit 2fe5765

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/github_release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
strategy:
1111
matrix:
1212
include:
13-
- os: ubuntu-24.04
13+
- os: ubuntu-22.04
1414
platform: amd64
15-
- os: ubuntu-24.04-arm
15+
- os: ubuntu-22.04-arm
1616
platform: arm64
1717

1818
steps:

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
FROM eclipse-temurin:21 AS builder-stage
1+
FROM ubuntu:22.04 AS builder-stage
22

3-
RUN apt update && apt install -y git cmake clang-18 libc++-18-dev libc++abi-18-dev gperf zlib1g-dev libssl-dev php-cli
3+
ARG DEBIAN_FRONTEND=noninteractive
4+
RUN apt update && apt install -y git make git zlib1g-dev libssl-dev gperf php-cli cmake clang-14 libc++-14-dev libc++abi-14-dev default-jdk
45

56
RUN git clone https://github.com/tdlib/td.git
67

@@ -12,14 +13,14 @@ RUN git checkout a03a90470d6fca9a5a3db747ba3f3e4a465b5fe7
1213
RUN mkdir build
1314
WORKDIR /td/build
1415

15-
RUN CXXFLAGS="-stdlib=libc++" CC=/usr/bin/clang-18 CXX=/usr/bin/clang++-18 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=../example/java/td -DTD_ENABLE_JNI=ON ..
16+
RUN CXXFLAGS="-stdlib=libc++" CC=/usr/bin/clang-14 CXX=/usr/bin/clang++-14 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=../example/java/td -DTD_ENABLE_JNI=ON ..
1617

1718
RUN cmake --build . --target install
1819

1920
RUN mkdir /td/example/java/build
2021
WORKDIR /td/example/java/build
2122

22-
RUN CXXFLAGS="-stdlib=libc++" CC=/usr/bin/clang-18 CXX=/usr/bin/clang++-18 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=../../../tdlib -DTd_DIR:PATH=$(readlink -e ../td/lib/cmake/Td) ..
23+
RUN CXXFLAGS="-stdlib=libc++" CC=/usr/bin/clang-14 CXX=/usr/bin/clang++-14 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=../../../tdlib -DTd_DIR:PATH=$(readlink -e ../td/lib/cmake/Td) ..
2324

2425
RUN cmake --build . --target install
2526

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ All the generated classes, except the example ones, are packed to a jar file.
4343

4444
## License
4545

46-
This repository provides a repackaging of [tdlib](https://github.com/tdlib/td), that is released with Boost Software License.
46+
This repository provides a repackaging of [tdlib](https://github.com/tdlib/td), that is released with Boost Software License - copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2025.

0 commit comments

Comments
 (0)