Update README

This commit is contained in:
Lukasz Raczylo 2020-12-27 20:18:18 +00:00
parent a0c99e3927
commit 291916ed13
No known key found for this signature in database
GPG Key ID: 4C68D09621D47E6B

View File

@ -1,12 +1,20 @@
# tdlib-telegram-bot-api-docker # tdlib-telegram-bot-api-docker
## Purpose of the project ## Purpose of the project
Produce working, minimal Docker image for the Telegram Bot API server together with easy Produce working, minimal Docker image for the Telegram Bot API server together with easy
to use pipeline generating builds on the changes within the main repository managed by to use pipeline generating builds on the changes within the main repository managed by
Telegram team. Telegram team.
**Motivation:** [#0](https://medium.com/swlh/building-your-home-raspberry-pi-kubernetes-cluster-14eeeb3c521e), [#1](https://github.com/tdlib/telegram-bot-api/issues/65), [#2](https://github.com/tdlib/telegram-bot-api/issues/65)
This project does not modify any part of the [tdlib/telegram-bot-api](https://github.com/tdlib/telegram-bot-api) code. This project does not modify any part of the [tdlib/telegram-bot-api](https://github.com/tdlib/telegram-bot-api) code.
## Issues
As I do not modify any part of the server code I am not responsible for the way it works. For that purpose you should open an issue on the [telegram bot api server](https://github.com/tdlib/telegram-bot-api/issues) issue tracker.
**TL;DR:** My responsibility ends when container and binary starts.
## Build schedule ## Build schedule
Build will be triggered automatically once a week to produce the latest version of the Telegram API Server. Build will be triggered automatically once a week to produce the latest version of the Telegram API Server.
I would set it for the daily release but every build takes ~25 minutes and generates additional costs on my side. I would set it for the daily release but every build takes ~25 minutes and generates additional costs on my side.
@ -16,9 +24,10 @@ Images are versioned in format `1.0.x` where `x` is a build number.
Images created within this project support following architectures: AMD64 and ARM64 Images created within this project support following architectures: AMD64 and ARM64
Yes, it means you can run them on *Raspberry Pi 4* and above as well! 🥳 Yes, it means you can run them on regular servers and **Raspberry Pi 4** and above as well! 🥳
### Github authentication ### Github authentication
You need to authenticate with github ([see this thread](https://github.community/t/docker-pull-from-public-github-package-registry-fail-with-no-basic-auth-credentials-error/16358/87)) to pull even the publicly available images. To do so you need to create [Personal Access Token](https://github.com/settings/tokens/new) with `read:packages` scope and use it to authenticate your docker client with the Github Docker Registry. You need to authenticate with github ([see this thread](https://github.community/t/docker-pull-from-public-github-package-registry-fail-with-no-basic-auth-credentials-error/16358/87)) to pull even the publicly available images. To do so you need to create [Personal Access Token](https://github.com/settings/tokens/new) with `read:packages` scope and use it to authenticate your docker client with the Github Docker Registry.
``` ```