Skip to content

Commit 0885441

Browse files
committed
Documents a limitation of the build-like-sync hack
1 parent f231c89 commit 0885441

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/y-build-like-sync

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ dest=$(cat skaffold.yaml | grep 'dest:' | awk '{ print $2 }')
4848
dest=$(echo $dest | sed 's|^/||')
4949

5050
list=$(mktemp)
51+
# Wanted: a way to produce a build context like buildctl would
5152
(cd $context; git ls-files -c -o --exclude-standard -- . || find . -type f) > $list
5253
tar=$(mktemp)
5354
tar --transform "s|^|$dest/|" --show-transformed-names -cvhf $tar -T $list --mode='ug+rw' --group=65534 --owner=65532

0 commit comments

Comments
 (0)