mirror of
https://github.com/cdr/code-server.git
synced 2025-12-09 09:55:30 +01:00
11 lines
272 B
Bash
Executable file
11 lines
272 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
main() {
|
|
cd "$(dirname "$0")/../.."
|
|
imageTag="$(docker build -q ci/image)"
|
|
docker run -t --rm -e CI -e GITHUB_TOKEN -v "$(yarn cache dir):/usr/local/share/.cache/yarn/v6" -v "$PWD:/repo" -w /repo "$imageTag" "$*"
|
|
}
|
|
|
|
main "$@"
|