arui-scripts 13.3.0-feat-fast-docker-build.2 → 13.3.0-feat-fast-docker-build.3
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [13.3.0-feat-fast-docker-build.3](https://git.moscow.alfaintra.net/ef/arui-scripts/compare/v13.3.0-feat-fast-docker-build.2...v13.3.0-feat-fast-docker-build.3) (2022-12-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **docker-build-fast:** don't remove build directory ([0909182](https://git.moscow.alfaintra.net/ef/arui-scripts/commit/09091820f10fffc54702ae6572f6c9a716fe0784))
|
|
7
|
+
|
|
1
8
|
# [13.3.0-feat-fast-docker-build.2](https://git.moscow.alfaintra.net/ef/arui-scripts/compare/v13.3.0-feat-fast-docker-build.1...v13.3.0-feat-fast-docker-build.2) (2022-12-06)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -62,7 +62,6 @@ const imageFullName = `${dockerRegistry ? `${dockerRegistry}/` : ''}${imageName}
|
|
|
62
62
|
fs_extra_1.default.writeFile(path_1.default.join(pathToTempDir, 'Dockerfile'), dockerfile, 'utf8'),
|
|
63
63
|
fs_extra_1.default.writeFile(path_1.default.join(pathToTempDir, 'nginx.conf'), nginxConf, 'utf8'),
|
|
64
64
|
fs_extra_1.default.writeFile(path_1.default.join(pathToTempDir, 'start.sh'), start_template_1.default, { encoding: 'utf8', mode: 0o555 }),
|
|
65
|
-
fs_extra_1.default.remove(app_configs_1.default.buildPath),
|
|
66
65
|
]);
|
|
67
66
|
console.timeEnd('Setting up time');
|
|
68
67
|
console.time('Build docker image time');
|
|
@@ -10,7 +10,6 @@ FROM ${app_configs_1.default.baseDockerImage}
|
|
|
10
10
|
ARG START_SH_LOCATION
|
|
11
11
|
ARG NGINX_CONF_LOCATION
|
|
12
12
|
|
|
13
|
-
USER nginx
|
|
14
13
|
WORKDIR /src
|
|
15
14
|
RUN mkdir -p /var/lib/nginx && \
|
|
16
15
|
chown -R nginx:nginx /var/lib/nginx && \
|
|
@@ -27,5 +26,7 @@ ADD --chown=nginx:nginx package.json /src/package.json
|
|
|
27
26
|
RUN yarn install --production --ignore-optional --frozen-lockfile --ignore-scripts --prefer-offline && \\
|
|
28
27
|
yarn cache clean
|
|
29
28
|
ADD --chown=nginx:nginx . /src
|
|
29
|
+
|
|
30
|
+
USER nginx
|
|
30
31
|
`;
|
|
31
32
|
exports.default = apply_overrides_1.default('Dockerfile-fast', dockerfileTemplate);
|
|
@@ -1332,12 +1332,12 @@
|
|
|
1332
1332
|
"affectsGlobalScope": false
|
|
1333
1333
|
},
|
|
1334
1334
|
"../src/templates/dockerfile-fast.template.ts": {
|
|
1335
|
-
"version": "
|
|
1335
|
+
"version": "8b5c10b7736147b912c1128fdd6de7cf4544de27e1dccfb9b47dfe35d512f46c",
|
|
1336
1336
|
"signature": "0fffbf1a5f54522ff7b89592bab1cf72966d7bdc613d52b0087717fcfec14b29",
|
|
1337
1337
|
"affectsGlobalScope": false
|
|
1338
1338
|
},
|
|
1339
1339
|
"../src/commands/docker-build-fast/index.ts": {
|
|
1340
|
-
"version": "
|
|
1340
|
+
"version": "e8fd26b7db7bf66a0eb3e42a9df0806e5b740c0ed748b888125df3833cb2c950",
|
|
1341
1341
|
"signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
|
|
1342
1342
|
"affectsGlobalScope": false
|
|
1343
1343
|
},
|