Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.devcontainer
test-project
.npmignore
README.md
definition-build.json

README.md

Alpine 3.10 & Git

Summary

Simple Alpine 3.10 container with Git installed.

Metadata Value
Contributors The VS Code Team
Definition type Dockerfile
Published image mcr.microsoft.com/vscode/devcontainers/base:alpine-3.10
Languages, platforms Any

Using this definition with an existing folder

This definition does not require any special steps to use.

However, note that some extensions may not work in Alpine Linux due to glibc dependencies in native code inside the extension. You should also be aware that 3rd party tools, runtimes, and SDKs may not include a version that works on Alpine Linux for the same reason.

See Remote Development and Linux for details.

Just follow these steps:

  1. If this is your first time using a development container, please follow the getting started steps to set up your machine.

  2. To use VS Code's copy of this definition:

    1. Start VS Code and open your project folder.
    2. Press F1 select and Remote-Containers: Add Development Container Configuration Files... from the command palette.
    3. Select the Debian 9 & Git definition.
  3. To use latest-and-greatest copy of this definition from the repository:

    1. Clone this repository.
    2. Copy the contents of containers/alpine-3.10-git/.devcontainer to the root of your project folder.
    3. Start VS Code and open your project folder.
  4. After following step 2 or 3, the contents of the .devcontainer folder in your project can be adapted to meet your needs.

  5. Finally, press F1 and run Remote-Containers: Reopen Folder in Container to start using the definition.

Testing the definition

This definition includes some test code that will help you verify it is working as expected on your system. Follow these steps:

  1. If this is your first time using a development container, please follow the getting started steps to set up your machine.
  2. Clone this repository.
  3. Start VS Code, press F1, and select Remote-Containers: Open Folder in Container...
  4. Select the containers/alpine-3.10-git folder.
  5. Press ctrl+shift+` and type the following command to verify installation: git --version
  6. You should see the Git version and details about the version of Linux in the container.

License

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT License. See LICENSE

You can’t perform that action at this time.