oae / gnome-shell-pano

Next-gen Clipboard Manager for Gnome Shell
https://extensions.gnome.org/extension/5278/pano/
GNU General Public License v2.0
978 stars 52 forks source link

Add devcontainer config #295

Closed forabi closed 3 weeks ago

forabi commented 1 month ago

Pull Request Template

Description

This should help make it easier to build and install the extension using VSCode (or any other devcontainer-supporting IDE). The gnome shell extensions dir is mounted directly at the corresponding location inside the container so the install command should work.

Checklist

Totto16 commented 1 month ago

I improved a few things, that would be too complicated to tell you, so I just did them myself:

general:

Dockerfile:

I used a newer image in the Dockerfile, since there is no reason to use a specific 20.x.y version, we just want to use the latest 20.x.y version and also there is no reason not using the latest alpine image

I also tested this locally and it seems to work as expected with these changes.

I'll wait until merging this, so that you can say, if something I did is not the best for a devcontainer. From my side it's approved.

And thank you for your contributiion ❤️