mirror of
https://github.com/rlister/dockerfiles.git
synced 2025-12-12 17:26:15 +00:00
11 lines
243 B
Bash
11 lines
243 B
Bash
#!/bin/sh
|
|
|
|
## simply cat all remote files to stdout
|
|
for src in $*
|
|
do
|
|
/usr/bin/curl -sL \
|
|
-H "Authorization: token $TOKEN" \
|
|
-H 'Accept: application/vnd.github.v3.raw' \
|
|
"https://api.github.com/repos/${REPO}/contents/${src}"
|
|
done
|