Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonish committed May 8, 2024
1 parent 85102cf commit 86e6111
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions build-dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ for a in $@; do
shift
done

if test -t; then
it="-it"
fi

cross_run() {
target="$1"
shift
Expand All @@ -54,7 +50,7 @@ cross_run() {
--cache-from ${tag} \
-t ${tag} \
-f ${dockerfile} .
${ECHO} docker run --rm ${it} --privileged \
${ECHO} docker run --rm --privileged \
-v "$(pwd):/src:z" \
-v /var/run/docker.sock:/var/run/docker.sock:z \
-w /src \
Expand Down

0 comments on commit 86e6111

Please sign in to comment.