Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traditional (apt/rpm) software packages #257

Closed
MOZGIII opened this issue Mar 15, 2019 · 6 comments
Closed

Traditional (apt/rpm) software packages #257

MOZGIII opened this issue Mar 15, 2019 · 6 comments
Labels
enhancement Some improvement that isn't a feature

Comments

@MOZGIII
Copy link
Contributor

MOZGIII commented Mar 15, 2019

For the use case of installing this one the existing workstation (in contrast to installing it on a dedicated server) it would be great to provide Flatpack (and/or Snapcraft) and deb/rpm packages.

Using it on the workstation has the benefits of cutting the time to setup all the tooling on the server and jump string into what you want to do.

@MOZGIII MOZGIII added the enhancement Some improvement that isn't a feature label Mar 15, 2019
@sr229
Copy link
Contributor

sr229 commented Mar 15, 2019

@MOZGIII I think @nhooyr wouldn't like supporting every use case, plus I made a Ansible script if you're just aiming for such. It supports install lifecycle and can be used as update as well.

@MOZGIII
Copy link
Contributor Author

MOZGIII commented Mar 15, 2019

Well, personally I'm ok with using just a binary. Ansible scripts is something that I'd keed away from the workstation.
I guess I'll just set up a ppa for ubuntu myself as a first step. After that it'd be easy for the upstream to pick up.

Also, on the second thought Flatpak is not really a good idea, because it would make the tools and other processes spawned by the editor exectue in the context of the container, which kind of makes no sense to do if the goal is to use stuff from the plain-old host environemnt. I'm renaming this issue to just deb/rpm.

@MOZGIII MOZGIII changed the title Flatpack and traditional (apt/rpm) software packages Traditional (apt/rpm) software packages Mar 15, 2019
@sr229
Copy link
Contributor

sr229 commented Mar 16, 2019

Also using Flatpak is a big security hole. Isolation is pretty much breakable compared to Snap (which I personally discourage for security sensitive workloads)

@MOZGIII
Copy link
Contributor Author

MOZGIII commented Mar 17, 2019

Snap, Flatpak, Docker and any container-based "isolation" is too easy to subvert, so it can't really be used as a security measure. gVisior is the closest candidate to have something securely isolated, but there may be ways around it too.
However, my point is that to not explicitly use host-native environment without containment of the code-server space.
I'm currently going through the build system - there's quite a lot of things going on, and I seem to have issues with figuring it out. In particular, it looks like it's not supposed to work without packing into a single binary, which is surprising.

@nhooyr
Copy link
Contributor

nhooyr commented Jan 28, 2020

We should build a .deb as part of the build process.

@nhooyr
Copy link
Contributor

nhooyr commented Feb 3, 2020

See #1306

@nhooyr nhooyr closed this as completed Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Some improvement that isn't a feature
Projects
None yet
Development

No branches or pull requests

3 participants