File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
resources/images/warnet-bundle Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1
1
.git
2
+ .github
2
3
3
4
** /__pycache__
4
5
.trunk
5
6
.venv
7
+ .envrc
6
8
build
7
9
dist
8
10
** /* .egg-info
Original file line number Diff line number Diff line change
1
+ FROM python:3.11-alpine
2
+
3
+ # Install uv and ktop by copying from their docker images
4
+ COPY --from=ghcr.io/astral-sh/uv:0.4.12 /uv /bin/uv
5
+ COPY --from=ghcr.io/vladimirvivien/ktop:latest /ko-app/ktop /bin/ktop
6
+
7
+ RUN apk add --no-cache bash curl ca-certificates git kubectl helm k9s fish vim
8
+
9
+ # Setup venv and install warnet
10
+ ADD . /warnet
11
+ WORKDIR /warnet
12
+ RUN uv sync
13
+
14
+ # Setup autocomplete
15
+ RUN mkdir -p /root/.config/fish/completions
16
+ RUN cat <<EOF > /root/.config/fish/completions/warnet.fish
17
+ _WARNET_COMPLETE=fish_source warnet | source
18
+ EOF
19
+
20
+ # Start
21
+ CMD ["/usr/bin/fish" , "-c" , "source /warnet/.venv/bin/activate.fish; cd /root; exec fish" ]
You can’t perform that action at this time.
0 commit comments