fix: ensure the buildkit container is always running
This commit is contained in:
1 file changed
+2
-1
@@ -5,7 +5,6 @@ load test_helper
|
|||||||
setup_file() {
|
setup_file() {
|
||||||
global_setup
|
global_setup
|
||||||
install_railpack
|
install_railpack
|
||||||
docker run --rm --privileged -d --name buildkit moby/buildkit:latest
|
|
||||||
touch /etc/default/dokku
|
touch /etc/default/dokku
|
||||||
sudo tee -a /etc/default/dokku <<<"export BUILDKIT_HOST='docker-container://buildkit'"
|
sudo tee -a /etc/default/dokku <<<"export BUILDKIT_HOST='docker-container://buildkit'"
|
||||||
}
|
}
|
||||||
@@ -16,7 +15,9 @@ teardown_file() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
|
global_setup
|
||||||
create_app
|
create_app
|
||||||
|
docker run --rm --privileged -d --name buildkit moby/buildkit:latest
|
||||||
}
|
}
|
||||||
|
|
||||||
teardown() {
|
teardown() {
|
||||||
|
|||||||
Reference in new issue
Block a user