mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02: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
3 changed files with 3 additions and 3 deletions
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…
Add table
Reference in a new issue