Skip to content

Setup Dev Containers #407

@JP-Ellis

Description

@JP-Ellis

Have you read the Contributing Guidelines on issues?

Description

Development Containers is an open specification for setting up a development environment within an OCI container (such as Docker). It automatically sets up the necessary dependencies such as pre-commit, hatch, Python versions, etc. thereby reducing the burden of setting up a new environment.

While it is an initiative created by/for Visual Studio Code, it will hopefully grow in adoption.

The tasks for this issue would be as follows:

  • Set up a new .devcontainer/ directory
  • Adapt the old Dockerfile spread throughout this directory, and move them to .devcontainer/Containerfile.
  • Investigate how we can have containers for both x86_64 and arm64

Has this been requested on Canny?

No response

Motivation

Development containers lower the barrier to contributions, especially for people who are unfamiliar with Python's tooling and virtual environment. They are particularly useful when working with GitHub Codespaces, as Codespaces supports the dev containers automatically.

Have you tried building it?

No response

Self-service

  • I'd be willing to contribute this feature to Pact Python myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:chorePart of regular code upkeep

    Type

    No type

    Projects

    Status

    📝 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions