Merge branch 'build-optimizations' of https://yerbamate.dev/LemmyNet/lemmy into build-optimizations

This commit is contained in:
Dessalines 2020-06-12 15:53:06 -04:00
commit da6de03536
3 changed files with 12 additions and 0 deletions

View file

@ -1,2 +1,6 @@
#!/bin/sh #!/bin/sh
set -e
export COMPOSE_DOCKER_CLI_BUILD=1
export DOCKER_BUILDKIT=1
docker-compose up -d --no-deps --build docker-compose up -d --no-deps --build

View file

@ -1,4 +1,8 @@
#!/bin/sh #!/bin/sh
set -e
export COMPOSE_DOCKER_CLI_BUILD=1
export DOCKER_BUILDKIT=1
# Rebuilding dev docker # Rebuilding dev docker
docker-compose build docker-compose build

View file

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
set -e
git checkout master git checkout master
# Import translations # Import translations
@ -32,6 +33,9 @@ git add ../../ansible/templates/docker-compose.yml
git commit -m"Version $new_tag" git commit -m"Version $new_tag"
git tag $new_tag git tag $new_tag
export COMPOSE_DOCKER_CLI_BUILD=1
export DOCKER_BUILDKIT=1
# Rebuilding docker # Rebuilding docker
docker-compose build docker-compose build
docker tag dev_lemmy:latest dessalines/lemmy:x64-$new_tag docker tag dev_lemmy:latest dessalines/lemmy:x64-$new_tag