Skip to content

Feat: one-line script (or Docker-based) install #1167

Closed

Description

@bpmct

What is your suggestion?

Coder v2 has a one-line, or Docker-based installation method, similar to that in code-server:

Why do you want this feature?

This makes Coder subjectively easier to try. This is part of the open source switch criteria, as defined by @ammario.

Are there any workarounds to get this functionality today?

Yes, installing a binary or package from releases

Are you interested in submitting a PR for this?

I can contribute, but probably not own, a Dockerfile or install script for Coder v2.

Activity

  1. kylecarbs commented on Apr 25, 2022

    @kylecarbs
    Member

    I think we can pretty much copy/paste the code-server one actually 👀👀👀

  2. sharkymark commented on Apr 25, 2022

    @sharkymark
    Contributor

    I like this suggestion @bpmct

  3. bpmct commented on Apr 25, 2022

    @bpmct
    MemberAuthor

    somewhat related: #1178 (working on Docker image)

    I think we can pretty much copy/paste the code-server one actually 👀👀👀

    This will be kinda hard to test until the repo is public, sadly. But totally agree!

  4. added this to the Community MVP milestone on May 3, 2022
  5. misskniss commented on May 5, 2022

    @misskniss

    Hey team! Please add your planning poker estimate with ZenHub @jsjoeio @bpmct

  6. kylecarbs commented on May 5, 2022

    @kylecarbs
    Member

    I started on this in an installscript branch!

  7. misskniss commented on May 10, 2022

    @misskniss

    This is a good candidate for a new hire. This ticket will need to be better groomed to that effect though. @jsjoeio @bpmct FYI. It would be good to have your inputs on scoping and grooming this.
    @kylecarbs has the branch mentioned above as well. Will the three of you touch base and see if you can get the technical description and @tjcran help with the AC?

  8. 8 remaining items

  9. bpmct commented on May 11, 2022

    @bpmct
    MemberAuthor

    My thoughts are

    1. A script does not have to be a switch criteria, Docker (feat: build & release cross-platform Docker images #1178) will do. Absolutely agree with @spikecurtis here
    2. Installing a binary or package is simple, but most OSS projects still document how to do this in the README or have a script. Simply put, it's a best practice.
    3. By launch (Community MVP), we should have instructions for downloading the package from releases and adding to path, and optionally a script. It is difficult to do now because the repo is closed and all artifacts are gated.

    Would appreciate some help on the Docker PR I have open. From there, we can provide sample run commands and compose files.

    @tjcran what do you think?

  10. bpmct commented on May 11, 2022

    @bpmct
    MemberAuthor

    Basically this issue was not well-defined and can probably be closed once #1177 is merged and we have docs on using Docker + docker-compose + socket.

    From there, we can open another issue to highlight more specific install instructions in the README, such as a script or 3 commands to download from GH releases

  11. tjcran commented on May 11, 2022

    @tjcran

    Basically this issue was not well-defined and can probably be closed once #1177 is merged and we have docs on using Docker + docker-compose + socket.

    From there, we can open another issue to highlight more specific install instructions in the README, such as a script or 3 commands to download from GH releases

    I'm good with that! @spikecurtis any objections to me closing this in favor of #1177?

  12. spikecurtis commented on May 12, 2022

    @spikecurtis
    Collaborator

    No objection!

  13. removed this from the Community MVP milestone on May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions