We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e4e04 commit e94230dCopy full SHA for e94230d
justfile
@@ -33,6 +33,13 @@ _apt_cache_sharing := if _docker_bin_name == 'podman' {
33
',sharing=locked'
34
}
35
36
+# pull policy
37
+_pull_policy := if _docker_bin_name == 'podman' {
38
+ '=never'
39
+} else {
40
+ ''
41
+}
42
+
43
targets := 'go rust rust-musl tools devcontainer'
44
45
load := 'false'
@@ -157,7 +164,7 @@ _build *args='':
157
164
#!/usr/bin/env bash
158
165
set -euo pipefail
159
166
160
- cmd="{{ docker_bin }} buildx build . {{ _tag }} --pull \
167
+ cmd="{{ docker_bin }} buildx build . {{ _tag }} --pull{{ _pull_policy }} \
161
168
--progress='{{ DOCKER_PROGRESS }}' \
162
169
{{ output }} \
163
170
{{ if docker_arch != '' { '--platform=' + docker_arch } else { '' } }} \
0 commit comments