Explorar el Código

fix: invoke the USM installer with bash, not sh (busybox ash on alpine can't parse it)

clanker hace 1 semana
padre
commit
fd8965a95f
Se han modificado 2 ficheros con 2097 adiciones y 1 borrados
  1. 2096 0
      installer/install-usm-unified.sh
  2. 1 1
      src/cli/Deploy.vala

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 2096 - 0
installer/install-usm-unified.sh


+ 1 - 1
src/cli/Deploy.vala

@@ -732,7 +732,7 @@ private string deploy_containerfile(string base_image, string installer_url, boo
     builder.append("# Install USM. The installer is downloaded to a real file first because it\n");
     builder.append("# extracts its payload relative to $0, so `curl ... | sh` cannot work.\n");
     builder.append("RUN curl -fsSL \"${USM_INSTALLER_URL}\" -o /tmp/install-usm.sh \\\n");
-    builder.append(" && sh /tmp/install-usm.sh -y \\\n");
+    builder.append(" && bash /tmp/install-usm.sh -y \\\n");
     builder.append(" && rm -f /tmp/install-usm.sh\n\n");
     builder.append("COPY usm.config /etc/usm/usm.config\n\n");
     builder.append("COPY repos/ /etc/usm/repos.d/\n");

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio