From 5a61c732d68a073641eccf1660999b5fc0bee1f5 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Thu, 4 Jul 2019 19:01:25 +0900 Subject: [PATCH] Add flags to docker pull --- docker-compose-generator/src/DockerComposeDefinition.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose-generator/src/DockerComposeDefinition.cs b/docker-compose-generator/src/DockerComposeDefinition.cs index d0c911d..973163a 100644 --- a/docker-compose-generator/src/DockerComposeDefinition.cs +++ b/docker-compose-generator/src/DockerComposeDefinition.cs @@ -94,7 +94,7 @@ namespace DockerGenerator pullImageSh.Append($"#!/bin/bash\n\n"); foreach (var image in dockerImages) { - pullImageSh.Append($"docker pull \"{image}\"\n"); + pullImageSh.Append($"docker pull $BTCPAY_DOCKER_PULL_FLAGS \"{image}\"\n"); } var outputFile = GetFilePath("pull-images.sh"); File.WriteAllText(outputFile, pullImageSh.ToString());