Skip to content

Commit

Permalink
feat: podman icon
Browse files Browse the repository at this point in the history
Just implements the easter egg suggested in containers/podman-desktop#3307.

The frontend is marked with a label, which customizes it with a
Podman icon.

Signed-off-by: Tim deBoer <git@tdeboer.ca>
  • Loading branch information
deboer-tim committed Feb 15, 2024
1 parent 4040ae2 commit b651e4b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 15 additions & 1 deletion extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,21 @@
"title": "Cleanup images",
"category": "Podman Desktop Demo"
}
]
],
"views": {
"icons/containersList": [
{
"when": "io.podman.demo in containerLabelKeys",
"icon": "${podman-icon}"
}
],
"icons/image": [
{
"when": "io.podman.demo in imageLabelKeys",
"icon": "${podman-icon}"
}
]
}
},
"scripts": {
"build": "vite build",
Expand Down
2 changes: 2 additions & 0 deletions primary-podify-demo/front/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,5 @@ ENV FLASK_APP=app.py FLASK_RUN_HOST=0.0.0.0

# start flask
ENTRYPOINT ["/entrypoint.sh"]

LABEL io.podman.demo=awesome

0 comments on commit b651e4b

Please sign in to comment.