Replace docker buildx with DOCKER_BUILDKIT=1 environment variable

This seem to work better with distribution-provided Docker
This commit is contained in:
Ilya Fedin 2022-11-28 16:04:26 +04:00 committed by John Preston
parent 54a0f443b4
commit b9a766387c
3 changed files with 3 additions and 3 deletions

View File

@ -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 }}

View File

@ -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

View File

@ -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