Skip to content

Commit

Permalink
Merge pull request #3849 from microsoft/clantz/bump-alpine
Browse files Browse the repository at this point in the history
Bump up minimum Alpine version for remote
  • Loading branch information
Greg Van Liew authored Jul 7, 2020
2 parents 355986e + 5fa618d commit 76a7369
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/remote/containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TOCTitle: Containers
PageTitle: Developing inside a Container using Visual Studio Code Remote Development
ContentId: 7ec8a02b-2eb7-45c1-bb16-ddeaac694ff6
MetaDescription: Developing inside a Container using Visual Studio Code Remote Development
DateApproved: 6/10/2020
DateApproved: 7/7/2020
---
# Developing inside a Container

Expand All @@ -32,7 +32,7 @@ This lets VS Code provide a **local-quality development experience** — includi
**Containers**:

* x86_64 / ARMv7l (AArch32) / ARMv8l (AArch64) Debian 9+, Ubuntu 16.04+, CentOS / RHEL 7+
* x86_64 Alpine Linux 3.8+
* x86_64 Alpine Linux 3.9+

Other `glibc` based Linux containers may work if they have [needed prerequisites](/docs/remote/linux.md).

Expand Down
9 changes: 5 additions & 4 deletions docs/remote/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TOCTitle: Linux Prerequisites
PageTitle: Linux Prerequisites for Visual Studio Code Remote Development
ContentId: 7ec8dedf-0659-437e-98f1-2d27f5e243eb
MetaDescription: Linux Prerequisites for VS Code Remote - SSH, Remote - Containers, and Remote - WSL
DateApproved: 6/10/2020
DateApproved: 7/7/2020
---
# Remote Development with Linux

Expand All @@ -17,7 +17,7 @@ The extensions are known to work when connecting to recent stable/LTS version of
* **Debian 64-bit x86, ARMv8l (AArch64)** (Stretch/9+)
* **Raspbian ARMv7l (AArch32) 32-bit** (Stretch/9+)
* **CentOS / RHEL 64-bit x86** (7+)
* **Alpine Linux 64-bit x86 containers or WSL hosts** (3.8+) in Remote - Containers, Remote - WSL
* **Alpine Linux 64-bit x86 containers or WSL hosts** (3.9+) in Remote - Containers, Remote - WSL

The following non-Linux SSH hosts are also supported:

Expand Down Expand Up @@ -48,7 +48,7 @@ You may encounter issues with certain extensions with native dependencies with *
| General | kernel >= 3.10, glibc >=2.17, libstdc++ >= 3.4.18, Python 2.6 or 2.7, tar | OpenSSH server, `bash`, and `curl` or `wget` | Run `ldd --version` to check the glibc version. Run `strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX` to see if libstdc++ 3.4.18 is available. |
| Ubuntu 16.04+, Debian 8+, Raspbian Stretch/9+ and downstream distributions | `libc6 libstdc++6 python-minimal ca-certificates tar` | `openssh-server bash` and `curl` or `wget` | Requires kernel >= 3.10, glibc >= 2.17, libstdc++ >= 3.4.18. Debian < 8 (Jessie) and Ubuntu < 14.04 do not meet this requirement. |
| RHEL / CentOS 7+ | `glibc libgcc libstdc++ python ca-certificates tar` | `openssh-server bash` and `curl` or `wget` | Requires kernel >= 3.10, glibc >= 2.17, libstdc++ >= 3.4.18. RHEL / CentOS < 7 does not meet this requirement without using a [workaround to upgrade](#updating-glibc-and-libstdc-on-rhel-centos-6). |
| Alpine Linux 3.8+ | `musl libgcc libstdc++`. musl >= 1.1.18, glibc not required. | Not yet supported. | Supported in Remote - Containers and Remote - WSL. Extensions installed in the container may not work due to `glibc` dependencies in extension native code. |
| Alpine Linux 3.9+ | `musl libgcc libstdc++`. musl >= 1.1.18, glibc not required. | Not yet supported. | Supported in Remote - Containers and Remote - WSL. Extensions installed in the container may not work due to `glibc` dependencies in extension native code. |
| openSUSE Leap / SUSE Linux Enterprise 15+|`glibc libgcc_s1 libstdc++6 python ca-certificates gzip tar`|`curl` or `wget` |Requires kernel >= 3.10, glibc, libstdc++6|

## Tips by Linux distribution
Expand All @@ -66,8 +66,8 @@ The following is a list of distributions and any base requirements that may be m
| ⚠️ Alpine Linux 3.10 (64-bit) | `alpine:3.10` | `libgcc libstdc++` | Supported in Remote - Containers and Remote - WSL only. Some extensions installed in the container may not work due to `glibc` dependencies in extension native code. |
| ✅ CentOS 7 Server (64-bit) | `centos:7` | &lt;none&gt; | &lt;none&gt; |
| 🛑 CentOS 6 Server (64-bit) | `centos:6` | `glibc` >= 2.17, `libstdc++` >= 3.4.18 | [Requires a workaround](#updating-glibc-and-libstdc-on-rhel-centos-6). |
| ✅ Debian 10 Server (64-bit) | `debian:10` | &lt;none&gt; | &lt;none&gt; |
| ✅ Debian 9 Server (64-bit) | `debian:9` | &lt;none&gt; | &lt;none&gt; |
| ✅ Debian 8 Server (64-bit) | `debian:8` | &lt;none&gt; | &lt;none&gt; |
| ✅ openSUSE Leap Server 15 (64-bit) | `opensuse/leap:15` | Docker image is missing `tar` and `gzip`. | &lt;none&gt; |
| ✅ openSUSE Leap Server 42.3 (64-bit) | `opensuse/leap:42.3` | Docker image is missing `tar` and `gzip`. | &lt;none&gt; |
| ✅ Oracle Linux 7 (64-bit) | `oraclelinux:7` | &lt;none&gt; | &lt;none&gt; |
Expand All @@ -79,6 +79,7 @@ The following is a list of distributions and any base requirements that may be m
| ✅ SUSE Linux Enterprise Server 12 (64-bit) | | Docker image is missing `tar` and `gzip`. | &lt;none&gt; |
| ❌ SUSE Linux Enterprise Server 11 (64-bit) | | `glibc` >= 2.17, `libstdc++` >= 3.4.18 | Might work compiling glibc from source, but untested. |
| ⚠️ Ubuntu 18.04 IoT (ARMv8l 64-bit) | | &lt;n/a&gt; | Some extensions may not work when installed on an ARMv8l host due to extension x86 native code. Remote - Containers **does** support connecting to containers on an ARM host. |
| ✅ Ubuntu Server 20.04 (64-bit) | `ubuntu:20.04` | &lt;none&gt; | &lt;none&gt; |
| ✅ Ubuntu Server 19.04 (64-bit) | `ubuntu:19.04` | &lt;none&gt; | &lt;none&gt; |
| ✅ Ubuntu Server 18.04 (64-bit) | `ubuntu:18.04` | &lt;none&gt; | &lt;none&gt; |
| ✅ Ubuntu Server 16.04 (64-bit) | `ubuntu:16.04` | &lt;none&gt; | &lt;none&gt; |
Expand Down
2 changes: 1 addition & 1 deletion docs/remote/ssh.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TOCTitle: SSH
PageTitle: Developing on Remote Machines using SSH and Visual Studio Code
ContentId: 42e65445-fb3b-4561-8730-bbd19769a160
MetaDescription: Developing on Remote Machines or VMs using Visual Studio Code Remote Development and SSH
DateApproved: 6/10/2020
DateApproved: 7/4/2020
---
# Remote Development using SSH

Expand Down

0 comments on commit 76a7369

Please sign in to comment.