@akanjs/config 0.9.16 → 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/src/akanConfig.js +4 -3
- package/esm/src/akanConfig.js +4 -3
- package/package.json +1 -1
package/cjs/src/akanConfig.js
CHANGED
|
@@ -136,11 +136,12 @@ const makeDockerfile = (type, config, props) => {
|
|
|
136
136
|
const command = config.command ?? ["node", "main.js"];
|
|
137
137
|
const content = `${imageScript}
|
|
138
138
|
RUN ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
|
|
139
|
-
RUN apt
|
|
140
|
-
RUN apt
|
|
139
|
+
RUN apt update && apt upgrade -y
|
|
140
|
+
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
|
|
141
141
|
ARG TARGETARCH
|
|
142
|
-
RUN if [ "$TARGETARCH" = "amd64" ]; then wget https://fastdl.mongodb.org/tools/db/mongodb-database-tools-debian92-x86_64-100.3.1.deb && apt
|
|
142
|
+
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
|
|
143
143
|
${preRunScripts.join("\n")}
|
|
144
|
+
RUN rm -rf /var/lib/apt/lists/*
|
|
144
145
|
RUN mkdir -p /workspace
|
|
145
146
|
WORKDIR /workspace
|
|
146
147
|
COPY ./package.json ./package.json
|
package/esm/src/akanConfig.js
CHANGED
|
@@ -101,11 +101,12 @@ const makeDockerfile = (type, config, props) => {
|
|
|
101
101
|
const command = config.command ?? ["node", "main.js"];
|
|
102
102
|
const content = `${imageScript}
|
|
103
103
|
RUN ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
|
|
104
|
-
RUN apt
|
|
105
|
-
RUN apt
|
|
104
|
+
RUN apt update && apt upgrade -y
|
|
105
|
+
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
|
|
106
106
|
ARG TARGETARCH
|
|
107
|
-
RUN if [ "$TARGETARCH" = "amd64" ]; then wget https://fastdl.mongodb.org/tools/db/mongodb-database-tools-debian92-x86_64-100.3.1.deb && apt
|
|
107
|
+
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
|
|
108
108
|
${preRunScripts.join("\n")}
|
|
109
|
+
RUN rm -rf /var/lib/apt/lists/*
|
|
109
110
|
RUN mkdir -p /workspace
|
|
110
111
|
WORKDIR /workspace
|
|
111
112
|
COPY ./package.json ./package.json
|