Skip to content

Commit

Permalink
Install default playbooks at build time in the dockerfile (robusta-de…
Browse files Browse the repository at this point in the history
…v#378)

* install default playbooks at build time in the dockerfile
  • Loading branch information
aantn authored Jun 15, 2022
1 parent 4b54392 commit b505779
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 72 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,7 @@ RUN pip3 install git+https://github.com/astanin/python-tabulate.git@b2c26bcb70e4

COPY playbooks/ /etc/robusta/playbooks/defaults

RUN python3 -m pip install /etc/robusta/playbooks/defaults

# -u disables stdout buffering https://stackoverflow.com/questions/107705/disable-output-buffering
CMD [ "python3", "-u", "-m", "robusta.runner.main"]
111 changes: 56 additions & 55 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ robusta = "robusta.cli.main:app"

[tool.poetry.dependencies]
python = "^3.7.1"
typer = "^0.3.2"
typer = "^0.4.1"
colorlog = "^5.0.1"
pydantic = "^1.8.1"
kubernetes = "^12.0.1"
Expand Down
Loading

0 comments on commit b505779

Please sign in to comment.