Browse Source

Add flags to docker pull

Kukks-patch-1
nicolas.dorier 6 years ago
parent
commit
5a61c732d6
No known key found for this signature in database GPG Key ID: 6618763EF09186FE
  1. 2
      docker-compose-generator/src/DockerComposeDefinition.cs

2
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());

Loading…
Cancel
Save