FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
dagger/hack/dev at main · syncopatedNote/dagger · GitHub
syncopatedNote
dagger
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
dagger
/
hack
/
dev
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
14 lines (9 loc) · 420 Bytes
Breadcrumbs
dagger
/
hack
/
dev
Copy path
File metadata and controls
executable file
·
14 lines (9 loc) · 420 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!
/usr/bin/env bash
#
hack/dev wraps hack/build to build and start a dev environment, allowing
#
running a specified command in that environment.
set
-e -u
export
HACK=
"
$(
cd
$(
dirname
$(
realpath
"
${BASH_SOURCE[0]}
"
)
)
&&
pwd
)
"
#
HACK: dagger shell can't get docker context info, so we need to
export
DOCKER_HOST=
${DOCKER_HOST
:-
$(docker context inspect -f
'
{{.Endpoints.docker.Host}}
'
)}
$HACK
/build
$HACK
/with-dev
$@
Back
|
FazBrowse Home
|
New Git URL