Skip to content

Commit

Permalink
chore: Update Alpine-magento-cloud-cli devcontainer feature version t…
Browse files Browse the repository at this point in the history
…o 0.0.6 and set default shell to zsh
  • Loading branch information
cirolosapio committed Jun 10, 2024
1 parent 8de5897 commit 1b6c807
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/alpine-magento-cloud-cli/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "alpine-magento-cloud-cli",
"id": "alpine-magento-cloud-cli",
"version": "0.0.5",
"version": "0.0.6",
"description": "Installs magento-cloud-cli on alpine",
"documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-magento-cloud-cli",
"installsAfter": [
Expand Down
1 change: 1 addition & 0 deletions src/alpine-magento-cloud-cli/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ CMD="cd $_CONTAINER_USER_HOME && curl -sS https://accounts.magento.cloud/cli/ins
if [ "$SHELLTYPE" = "zsh" ]; then
apk --no-cache add zsh
sed -i "s|:/bin/ash|:/bin/zsh|g" /etc/passwd
sed -i "s|:/bin/sh|:/bin/zsh|g" /etc/passwd
CMD="$CMD -- --shell-type zsh"
else
apk --no-cache add bash
Expand Down

0 comments on commit 1b6c807

Please sign in to comment.