@akanjs/cli 0.9.15 → 0.9.17

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/cjs/index.js CHANGED
@@ -780,7 +780,7 @@ var getDockerRunScripts = (runs) => {
780
780
  return `RUN ${run}`;
781
781
  else
782
782
  return Object.entries(run).map(
783
- ([arch, script]) => `RUN if [ "$TARGETARCH" = "${arch}" ]; then ${script} fi`
783
+ ([arch, script]) => `RUN if [ "$TARGETARCH" = "${arch}" ]; then ${script}; fi`
784
784
  ).join("\n");
785
785
  });
786
786
  };
@@ -801,11 +801,12 @@ var makeDockerfile = (type, config, props) => {
801
801
  const command = config.command ?? ["node", "main.js"];
802
802
  const content = `${imageScript}
803
803
  RUN ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
804
- RUN apt-get update && apt-get upgrade -y
805
- RUN apt-get install -y git redis build-essential python3 ca-certificates fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils udev ffmpeg && rm -rf /var/lib/apt/lists/*
804
+ RUN apt update && apt upgrade -y
805
+ RUN apt install -y git redis build-essential python3 ca-certificates fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils udev ffmpeg
806
806
  ARG TARGETARCH
807
- RUN if [ "$TARGETARCH" = "amd64" ]; then wget https://fastdl.mongodb.org/tools/db/mongodb-database-tools-debian92-x86_64-100.3.1.deb && apt-get install -y ./mongodb-database-tools-*.deb && rm -f mongodb-database-tools-*.deb; fi
807
+ RUN if [ "$TARGETARCH" = "amd64" ]; then wget https://fastdl.mongodb.org/tools/db/mongodb-database-tools-debian92-x86_64-100.3.1.deb && apt install -y ./mongodb-database-tools-*.deb && rm -f mongodb-database-tools-*.deb; fi
808
808
  ${preRunScripts.join("\n")}
809
+ RUN rm -rf /var/lib/apt/lists/*
809
810
  RUN mkdir -p /workspace
810
811
  WORKDIR /workspace
811
812
  COPY ./package.json ./package.json
package/esm/index.js CHANGED
@@ -760,7 +760,7 @@ var getDockerRunScripts = (runs) => {
760
760
  return `RUN ${run}`;
761
761
  else
762
762
  return Object.entries(run).map(
763
- ([arch, script]) => `RUN if [ "$TARGETARCH" = "${arch}" ]; then ${script} fi`
763
+ ([arch, script]) => `RUN if [ "$TARGETARCH" = "${arch}" ]; then ${script}; fi`
764
764
  ).join("\n");
765
765
  });
766
766
  };
@@ -781,11 +781,12 @@ var makeDockerfile = (type, config, props) => {
781
781
  const command = config.command ?? ["node", "main.js"];
782
782
  const content = `${imageScript}
783
783
  RUN ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
784
- RUN apt-get update && apt-get upgrade -y
785
- RUN apt-get install -y git redis build-essential python3 ca-certificates fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils udev ffmpeg && rm -rf /var/lib/apt/lists/*
784
+ RUN apt update && apt upgrade -y
785
+ RUN apt install -y git redis build-essential python3 ca-certificates fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils udev ffmpeg
786
786
  ARG TARGETARCH
787
- RUN if [ "$TARGETARCH" = "amd64" ]; then wget https://fastdl.mongodb.org/tools/db/mongodb-database-tools-debian92-x86_64-100.3.1.deb && apt-get install -y ./mongodb-database-tools-*.deb && rm -f mongodb-database-tools-*.deb; fi
787
+ RUN if [ "$TARGETARCH" = "amd64" ]; then wget https://fastdl.mongodb.org/tools/db/mongodb-database-tools-debian92-x86_64-100.3.1.deb && apt install -y ./mongodb-database-tools-*.deb && rm -f mongodb-database-tools-*.deb; fi
788
788
  ${preRunScripts.join("\n")}
789
+ RUN rm -rf /var/lib/apt/lists/*
789
790
  RUN mkdir -p /workspace
790
791
  WORKDIR /workspace
791
792
  COPY ./package.json ./package.json
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "type": "module",
3
3
  "sourceType": "module",
4
4
  "name": "@akanjs/cli",
5
- "version": "0.9.15",
5
+ "version": "0.9.17",
6
6
  "bin": {
7
7
  "akan": "esm/index.js"
8
8
  },