소스 검색

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

clanker 1 주 전
부모
커밋
fd8965a95f
2개의 변경된 파일2097개의 추가작업 그리고 1개의 파일을 삭제
  1. 2096 0
      installer/install-usm-unified.sh
  2. 1 1
      src/cli/Deploy.vala

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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");

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.