Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup!…
Browse files Browse the repository at this point in the history
… fixup! fixup! fixup! feat: use largest writable tmpfs that allows executables
  • Loading branch information
hugojosefson committed Mar 31, 2024
1 parent 14e0475 commit 2a7dc3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ test/import-test-piped.sh: src/deno-shebang-piped.min.sh test/import-test.ts
docker-test:
docker build -t deno-shebang-test .
find / -type s -name docker.sock 2>/dev/null
ls -tr $$(find / -type s -name docker.sock 2>/dev/null)
set -x; ls -tr $$(find / -type s -name docker.sock 2>/dev/null)
set -x; print_if_socket() { [ -S "$$1" ] && echo "$$1" || :; }; export -f print_if_socket; ls -tr $$(find / -type s -name docker.sock 2>/dev/null) | xargs -n1 print_if_socket
print_if_socket() { [ -S "$$1" ] && echo "$$1" || :; }; export -f print_if_socket; socket_path() { print_if_socket "$${XDG_RUNTIME_DIR}/docker.sock" || print_if_socket /var/run/docker.sock || ls -tr $$(find / -type s -name docker.sock 2>/dev/null) | xargs -n1 print_if_socket; }; export -f socket_path; docker run --rm -i -v "$$(socket_path):/var/run/docker.sock:Z" deno-shebang-test make --always-make all
@echo "'make all' was successful inside Docker."
Expand Down

0 comments on commit 2a7dc3c

Please sign in to comment.