Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 2.11 KB

File metadata and controls

48 lines (31 loc) · 2.11 KB

Alpine

Summary

Simple Alpine container with Git installed.

Metadata Value
Categories Core, Other
Image type Dockerfile
Published images mcr.microsoft.com/devcontainers/base:alpine
Available image variants alpine-3.23, alpine-3.22, alpine-3.21, alpine-3.20 (full list)

| Published image architecture(s) | x86-64, aarch64/arm64 | | Container host OS support | Linux, macOS, Windows | | Container OS | Alpine Linux | | Languages, platforms | Any |

See history for information on the contents of published images.

Using this image

You can also directly reference pre-built versions of .devcontainer/Dockerfile by using the image property in .devcontainer/devcontainer.json or updating the FROM statement in your own Dockerfile to one of the following. An example Dockerfile is included in this repository.

  • mcr.microsoft.com/devcontainers/base:alpine (latest)
  • mcr.microsoft.com/devcontainers/base:alpine-3.23
  • mcr.microsoft.com/devcontainers/base:alpine-3.22
  • mcr.microsoft.com/devcontainers/base:alpine-3.21
  • mcr.microsoft.com/devcontainers/base:alpine-3.20

Refer to this guide for more details.

You can decide how often you want updates by referencing a semantic version of each image. For example:

  • mcr.microsoft.com/devcontainers/base:3-alpine
  • mcr.microsoft.com/devcontainers/base:3.0-alpine
  • mcr.microsoft.com/devcontainers/base:3.0.4-alpine

See history for information on the contents of each version and here for a complete list of available tags.

Beyond git, this image / Dockerfile includes zsh, Oh My Zsh!, a non-root vscode user with sudo access, and a set of common dependencies for development.

License

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT License. See LICENSE