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 d843409 commit f8e4e04Copy full SHA for f8e4e04
justfile
@@ -26,6 +26,13 @@ podman_remote := if _docker_bin_name == 'podman' {
26
'false'
27
}
28
29
+# apt cache sharing mode hits a bug in buildah
30
+_apt_cache_sharing := if _docker_bin_name == 'podman' {
31
+ ''
32
+} else {
33
+ ',sharing=locked'
34
+}
35
+
36
targets := 'go rust rust-musl tools devcontainer'
37
38
load := 'false'
@@ -154,6 +161,7 @@ _build *args='':
154
161
--progress='{{ DOCKER_PROGRESS }}' \
155
162
{{ output }} \
156
163
{{ if docker_arch != '' { '--platform=' + docker_arch } else { '' } }} \
164
+ --build-arg APT_CACHE_SHARING={{ _apt_cache_sharing }} \
157
165
{{ args }}"
158
166
159
167
echo "{{ style('error') }}$cmd{{ NORMAL }}"
0 commit comments