vercel-vm-factory 0.18.8 → 0.19.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/deploy-vm.mjs +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -78,7 +78,7 @@ Choosing bash or zsh adds the matching package to the generated Dockerfile when
|
|
|
78
78
|
|
|
79
79
|
Generated shell setup examples:
|
|
80
80
|
|
|
81
|
-
- Alpine + `/bin/zsh`: installs `zsh curl git`, clones oh-my-zsh into `/root/.oh-my-zsh`, and writes `/root/.zshrc`.
|
|
81
|
+
- Alpine + `/bin/zsh`: installs `zsh curl git ca-certificates`, clones oh-my-zsh into `/root/.oh-my-zsh`, and writes `/root/.zshrc`.
|
|
82
82
|
- Ubuntu/Debian + `/bin/bash`: installs `bash` with `apt-get`.
|
|
83
83
|
- `/bin/sh`: no extra shell package is installed.
|
|
84
84
|
|
package/deploy-vm.mjs
CHANGED
|
@@ -435,7 +435,8 @@ function makeToolInstall({ tools, vmImageName }) {
|
|
|
435
435
|
function makeShellInstall({ shell, vmImageName }) {
|
|
436
436
|
const packageName = path.basename(shell);
|
|
437
437
|
if (packageName === "sh") return "";
|
|
438
|
-
const packages =
|
|
438
|
+
const packages =
|
|
439
|
+
packageName === "zsh" ? "zsh curl git ca-certificates" : packageName;
|
|
439
440
|
|
|
440
441
|
if (vmImageName === "alpine")
|
|
441
442
|
return `RUN apk add --no-cache ${packages}`;
|