Skip to content

Commit

Permalink
Update develop-env Jenkinsfile to use DOCKER_BUILDKIT=0, which allows…
Browse files Browse the repository at this point in the history
… passing the network to the build container.
  • Loading branch information
tribeiro authored and couger01 committed Feb 17, 2025
1 parent 83bb2c3 commit 040983e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions jenkins/Jenkinsfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pipeline {
script {
docker.withRegistry("", registryCredential) {
sh """
docker compose --env-file cycle/main.env -f cycle/docker-compose.yaml build --pull develop-env-community
DOCKER_BUILDKIT=0 docker compose --env-file cycle/main.env -f cycle/docker-compose.yaml build --pull develop-env-community
"""
}
}
Expand All @@ -48,7 +48,7 @@ pipeline {
script {
docker.withRegistry("", registryCredential) {
sh """
docker compose --env-file cycle/develop.env -f cycle/docker-compose.yaml build --pull develop-env-community
DOCKER_BUILDKIT=0 docker compose --env-file cycle/develop.env -f cycle/docker-compose.yaml build --pull develop-env-community
"""
}
}
Expand All @@ -71,7 +71,7 @@ pipeline {
script {
docker.withRegistry("", registryCredential) {
sh """
docker compose --env-file cycle/cycle.env -f cycle/docker-compose.yaml build --pull develop-env-community
DOCKER_BUILDKIT=0 docker compose --env-file cycle/cycle.env -f cycle/docker-compose.yaml build --pull develop-env-community
"""
}
}
Expand All @@ -94,7 +94,7 @@ pipeline {
script {
docker.withRegistry("https://ts-dockerhub.lsst.org/", "nexus3-lsst_jenkins") {
sh """
docker compose --env-file cycle/main.env -f cycle/docker-compose.yaml build --pull develop-env-private
DOCKER_BUILDKIT=0 docker compose --env-file cycle/main.env -f cycle/docker-compose.yaml build --pull develop-env-private
"""
}
}
Expand All @@ -117,7 +117,7 @@ pipeline {
script {
docker.withRegistry("https://ts-dockerhub.lsst.org/", "nexus3-lsst_jenkins") {
sh """
docker compose --env-file cycle/develop.env -f cycle/docker-compose.yaml build --pull develop-env-private
DOCKER_BUILDKIT=0 docker compose --env-file cycle/develop.env -f cycle/docker-compose.yaml build --pull develop-env-private
"""
}
}
Expand All @@ -140,7 +140,7 @@ pipeline {
script {
docker.withRegistry("https://ts-dockerhub.lsst.org/", "nexus3-lsst_jenkins") {
sh """
docker compose --env-file cycle/cycle.env -f cycle/docker-compose.yaml build --pull develop-env-private
DOCKER_BUILDKIT=0 docker compose --env-file cycle/cycle.env -f cycle/docker-compose.yaml build --pull develop-env-private
"""
}
}
Expand Down

0 comments on commit 040983e

Please sign in to comment.