Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Developing Flutter Applications in Dev Containe...

Developing Flutter Applications in Dev Container Environments - Ali Yazdi

GDG Montreal

November 14, 2024
Tweet

More Decks by GDG Montreal

Other Decks in Programming

Transcript

  1. Developing Flutter Applications in Dev Container Environments Consistent, portable Flutter

    development environment using Dev Containers By Ali Yazdi yazdi.dev linkedin.com/in/aliyazdi75
  2. A platform that uses OS-level virtualization to deliver software in

    packages called containers A Docker container image is a lightweight, standalone, executable package of software that includes everything needed to run an application Docker and Containers + +
  3. Allows you to use a container as a full-featured development

    environment A Docker-based development environment defined by a .devcontainer.json file Dev Container + +
  4. • A development container defines an environment in which you

    develop your application before you are ready to deploy • You may not want to include tools in a deployment image that you use during development Development vs production
  5. • Dev container is introduced by Microsoft and first integrated

    with VS Code • Workspace files are mounted from the local file system or copied or cloned into the container. Extensions are installed and run inside the container, where they have full access to the tools, platform, and file system. Developing inside a Container
  6. Contains any needed metadata and settings required to configurate a

    development container https://containers.dev/implementors/json_reference Make devcontainer.json
  7. Don’t share settings that are personal such as theme or

    shortcuts Try to use dev environment when it has benefits + Save VS code settings in the shared container such as extensions First setup is a hassle and then enjoy working in devcontainer Summary + + +