mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-15 03:27:10 +00:00
Replace docker buildx with DOCKER_BUILDKIT=1 environment variable
This seem to work better with distribution-provided Docker
This commit is contained in:
parent
54a0f443b4
commit
b9a766387c
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
||||
run: |
|
||||
cd Telegram/build/docker/centos_env
|
||||
poetry install
|
||||
DEBUG= LTO= poetry run gen_dockerfile | docker buildx build -t $IMAGE_TAG -
|
||||
DEBUG= LTO= poetry run gen_dockerfile | DOCKER_BUILDKIT=1 docker build -t $IMAGE_TAG -
|
||||
|
||||
- name: Push the Docker image.
|
||||
if: ${{ github.ref_name == github.event.repository.default_branch }}
|
||||
|
@ -6,5 +6,5 @@ popd > /dev/null
|
||||
|
||||
|
||||
cd $FullScriptPath/../docker/centos_env
|
||||
poetry run gen_dockerfile | docker buildx build -t tdesktop:centos_env -
|
||||
poetry run gen_dockerfile | DOCKER_BUILDKIT=1 docker build -t tdesktop:centos_env -
|
||||
cd $FullExecPath
|
||||
|
@ -13,7 +13,7 @@ You will require **api_id** and **api_hash** to access the Telegram API servers.
|
||||
Install [poetry](https://python-poetry.org), go to the `tdesktop/Telegram/build/docker/centos_env` directory and run
|
||||
|
||||
poetry install
|
||||
poetry run gen_dockerfile | docker buildx build -t tdesktop:centos_env -
|
||||
poetry run gen_dockerfile | DOCKER_BUILDKIT=1 docker build -t tdesktop:centos_env -
|
||||
|
||||
### Building the project
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user