Sign in

Mod for code-server

Flutter Beta

This mod adds a Flutter beta dev environment to code-server and openvscode-server, to be installed/updated during container start. The environment is already configured to run browser apps.

arch
amd64
built

Use it#

Set DOCKER_MODS on the code-server container and recreate it. The mod is pulled on every start; several mods are separated with |.

DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-flutter

:code-server-flutter always gets the newest build. To stay on this one, pin its tag:

DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-flutter-c23d5ed
services:
  code-server:
    image: ghcr.io/linuxserver-playground/code-server:latest
    environment:
      - DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-flutter

Also for openvscode-server.

Details#

flutter create myapp
cd myapp
flutter run --web-port=8989

Open a browser pointing to:

https://my-code-server-host.com/proxy/8989

or

https://8989.my-code-server-host.com

When editing the code, press r and refresh the web page, or install the Flutter extension for code-server or openvscode-server.

Community project

Improve this mod, or make your own

Mods are how LinuxServer images grow without getting heavier: a Dockerfile, a few scripts and a mod.yml. If this one is missing something, or you need one like it for another image, an AI agent in our harness can build and test it with you.

Ask your agent

  • The code-server-flutter mod <what is wrong>. Fix it, test it and draft the PR.
  • Make a mod like code-server-flutter for <another image>, and test it.

Making a mod Every way to help Get the harness (opens in a new tab)

Source: code-server-flutter branch (opens in a new tab). Every mod