FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
gh-aw/Dockerfile at main · github/gh-aw · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
github
/
gh-aw
Public
Notifications
You must be signed in to change notification settings
Fork
540
Star
5.1k
Code
Issues
400
Pull requests
3
Discussions
Actions
Projects
Wiki
Security and quality
10
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
gh-aw
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
46 lines (35 loc) · 1.43 KB
Breadcrumbs
gh-aw
/
Dockerfile
Copy path
File metadata and controls
46 lines (35 loc) · 1.43 KB
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
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#
Dockerfile for GitHub Agentic Workflows compiler
#
Provides a minimal container with gh-aw, gh CLI, git, and jq
#
Use Alpine for minimal size (official distribution)
FROM
alpine:3.24
#
Install required dependencies
RUN
apk add --no-cache \
git \
jq \
bash \
curl \
ca-certificates \
github-cli
#
Accept build argument for binary name (defaults to linux-amd64)
ARG
BINARY=gh-aw-linux-amd64
#
Create a directory for the binary
WORKDIR
/usr/local/bin
#
Copy the gh-aw binary from build context
COPY
${BINARY} /usr/local/bin/gh-aw
#
Ensure the binary is executable
RUN
chmod +x /usr/local/bin/gh-aw
#
Configure git to trust all directories to avoid "dubious ownership" errors
#
This is necessary when the container runs with mounted volumes owned by different users
RUN
git config --global --add safe.directory
'*'
#
Set working directory for users
WORKDIR
/workspace
#
Set the entrypoint to gh-aw
ENTRYPOINT
[
"gh-aw"
]
#
Default command runs MCP server with actor validation enabled
#
The GITHUB_ACTOR environment variable must be set for logs and audit tools to be available
#
Binary path detection is automatic via os.Executable()
CMD
[
"mcp-server"
,
"--validate-actor"
]
#
Metadata labels
LABEL
org.opencontainers.image.source=
"https://github.com/github/gh-aw"
LABEL
org.opencontainers.image.description=
"GitHub Agentic Workflows - Write agentic workflows in natural language markdown"
LABEL
org.opencontainers.image.licenses=
"MIT"
Back
|
FazBrowse Home
|
New Git URL