fix: correct build context for agents Dockerfile
This commit is contained in:
parent
ad0b0e181f
commit
e617999074
2 changed files with 8 additions and 4 deletions
|
|
@ -226,7 +226,9 @@ services:
|
||||||
- woodpecker
|
- woodpecker
|
||||||
|
|
||||||
agents:
|
agents:
|
||||||
build: ./docker/agents
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: docker/agents/Dockerfile
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
security_opt:
|
security_opt:
|
||||||
- apparmor=unconfined
|
- apparmor=unconfined
|
||||||
|
|
@ -256,7 +258,9 @@ services:
|
||||||
- disinto-net
|
- disinto-net
|
||||||
|
|
||||||
runner:
|
runner:
|
||||||
build: ./docker/agents
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: docker/agents/Dockerfile
|
||||||
profiles: ["vault"]
|
profiles: ["vault"]
|
||||||
security_opt:
|
security_opt:
|
||||||
- apparmor=unconfined
|
- apparmor=unconfined
|
||||||
|
|
|
||||||
|
|
@ -7,11 +7,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
|
||||||
# Pre-built binaries (copied from docker/agents/bin/)
|
# Pre-built binaries (copied from docker/agents/bin/)
|
||||||
# SOPS — encrypted data decryption tool
|
# SOPS — encrypted data decryption tool
|
||||||
COPY bin/sops /usr/local/bin/sops
|
COPY docker/agents/bin/sops /usr/local/bin/sops
|
||||||
RUN chmod +x /usr/local/bin/sops
|
RUN chmod +x /usr/local/bin/sops
|
||||||
|
|
||||||
# tea CLI — official Gitea/Forgejo CLI for issue/label/comment operations
|
# tea CLI — official Gitea/Forgejo CLI for issue/label/comment operations
|
||||||
COPY bin/tea /usr/local/bin/tea
|
COPY docker/agents/bin/tea /usr/local/bin/tea
|
||||||
RUN chmod +x /usr/local/bin/tea
|
RUN chmod +x /usr/local/bin/tea
|
||||||
|
|
||||||
# Claude CLI is mounted from the host via docker-compose volume.
|
# Claude CLI is mounted from the host via docker-compose volume.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue