Skip to content

Commit 8b01efd

Browse files
authored
Merge pull request #405 from Automattic/GH-404
fix(ssh): install failure on `mcr.microsoft.com/devcontainers/base:alpine`
2 parents 85fa986 + 39f99ac commit 8b01efd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

features/src/ssh/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "ssh",
33
"name": "SSH",
44
"description": "Sets up SSH into the Dev Environment",
5-
"version": "1.2.0",
5+
"version": "1.2.1",
66
"documentationURL": "https://github.com/Automattic/vip-codespaces/tree/trunk/features/src/ssh",
77
"options": {
88
"enabled": {

features/src/ssh/install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ if [ "${ENABLED:-}" = "true" ]; then
3636
;;
3737

3838
"alpine")
39+
apk upgrade --no-cache 'openssh*' openssl
3940
# shellcheck disable=SC2086
4041
apk add --no-cache openssh-server-pam openssl
4142
ln -sf /usr/sbin/sshd.pam /usr/sbin/sshd

0 commit comments

Comments
 (0)