|
| 1 | +# Alpine 3.10 & Git |
| 2 | + |
| 3 | +## Summary |
| 4 | + |
| 5 | +*Simple Alpine 3.10 container with Git installed.* |
| 6 | + |
| 7 | +| Metadata | Value | |
| 8 | +|----------|-------| |
| 9 | +| *Contributors* | The VS Code Team | |
| 10 | +| *Definition type* | Dockerfile | |
| 11 | +| *Languages, platforms* | Any | |
| 12 | + |
| 13 | +## Using this definition with an existing folder |
| 14 | + |
| 15 | +This definition does not require any special steps to use. |
| 16 | + |
| 17 | +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. |
| 18 | + |
| 19 | +See [Remote Development and Linux](https://aka.ms/vscode-remote/linux) for details. |
| 20 | + |
| 21 | +Just follow these steps: |
| 22 | + |
| 23 | +1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine. |
| 24 | + |
| 25 | +2. To use VS Code's copy of this definition: |
| 26 | + 1. Start VS Code and open your project folder. |
| 27 | + 2. Press <kbd>F1</kbd> select and **Remote-Containers: Add Development Container Configuration Files...** from the command palette. |
| 28 | + 3. Select the Debian 9 & Git definition. |
| 29 | + |
| 30 | +3. To use latest-and-greatest copy of this definition from the repository: |
| 31 | + 1. Clone this repository. |
| 32 | + 2. Copy the contents of `containers/alpine-3.10-git/.devcontainer` to the root of your project folder. |
| 33 | + 3. Start VS Code and open your project folder. |
| 34 | + |
| 35 | +4. After following step 2 or 3, the contents of the `.devcontainer` folder in your project can be adapted to meet your needs. |
| 36 | + |
| 37 | +5. Finally, press <kbd>F1</kbd> and run **Remote-Containers: Reopen Folder in Container** to start using the definition. |
| 38 | + |
| 39 | +## Testing the definition |
| 40 | + |
| 41 | +This definition includes some test code that will help you verify it is working as expected on your system. Follow these steps: |
| 42 | + |
| 43 | +1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine. |
| 44 | +2. Clone this repository. |
| 45 | +3. Start VS Code, press <kbd>F1</kbd>, and select **Remote-Containers: Open Folder in Container...** |
| 46 | +4. Select the `containers/alpine-3.10-git` folder. |
| 47 | +5. Press <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>\`</kbd> and type the following command to verify installation: `git --version` |
| 48 | +6. You should see the Git version and details about the version of Linux in the container. |
| 49 | + |
| 50 | +## License |
| 51 | + |
| 52 | +Copyright (c) Microsoft Corporation. All rights reserved. |
| 53 | + |
| 54 | +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE) |
0 commit comments