Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 2.22 KB

README.md

File metadata and controls

57 lines (40 loc) · 2.22 KB

Release Status

devcontainer

This project defines a container image to be used as a development environment inside Visual Studio Code through the Remote Dev Container extension.

What is devcontainer?

Devcontainer is a standard to define remote development environments using containers and how editors and IDE's should integrate them. The standard is described here.

How can I use it?

First off, you need to use a text editor or IDE who supports devcontainers. The most famous one is Visual Studio Code with the Dev Containers extension installed.

Your project should also define a .devcontainer/devcontainer.json configuration that is loaded by the extension and then the remote environment is built, started and attached to.

You can see the grawsp project as an example. You can also read more about how to setup your own development container in Visual Studio Code here.

Examples

Example of using this image directly in your .devcontainer/devcontainer.json:

{
    "image": "ghcr.io/schubergphilis/devcontainer:latest"
}

You can also use it as a base image in your Dockerfile:

FROM ghcr.io/schubergphilis/devcontainer:latest

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
file except in compliance with the License. You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the specific language governing
permissions and limitations under the License.