@leverege/build-tools 1.12.3 → 1.12.4
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/lib/server/dockreate +2 -2
- package/lib/web/dnsify/CloudflareAPI.js +0 -1
- package/package.json +1 -1
- package/src/dockreate +2 -2
package/lib/server/dockreate
CHANGED
|
@@ -43,11 +43,11 @@ strip_undefined() {
|
|
|
43
43
|
# Graceful kills with k8s => https://bit.ly/2NONEJG
|
|
44
44
|
#
|
|
45
45
|
# Params: $1 = version from dockerize invocation
|
|
46
|
-
# $2 = node image to dockerize, default:
|
|
46
|
+
# $2 = node image to dockerize, default: dubnium-alpine (node 10)
|
|
47
47
|
# $3 = additional packages to install (htop redis-cli etc)
|
|
48
48
|
create_Dockerfile() {
|
|
49
49
|
local regvers="${1}"
|
|
50
|
-
local nodeimg="${2:-
|
|
50
|
+
local nodeimg="${2:-dubnium-alpine}"
|
|
51
51
|
local apkadds="${3}"
|
|
52
52
|
echo "Creating the Dockerfile for node ${nodeimg}"
|
|
53
53
|
cat<<EODOCKER > Dockerfile
|
|
@@ -120,7 +120,6 @@ function () {
|
|
|
120
120
|
_ref = _context.sent;
|
|
121
121
|
_ref2 = _slicedToArray(_ref, 1);
|
|
122
122
|
result = _ref2[0];
|
|
123
|
-
// Writes the decrypted file to disk
|
|
124
123
|
writeFile = promisify(fs.writeFile);
|
|
125
124
|
_context.next = 22;
|
|
126
125
|
return writeFile(path.resolve(__dirname, plaintextFileName), Buffer.from(result.plaintext, 'base64'));
|
package/package.json
CHANGED
package/src/dockreate
CHANGED
|
@@ -43,11 +43,11 @@ strip_undefined() {
|
|
|
43
43
|
# Graceful kills with k8s => https://bit.ly/2NONEJG
|
|
44
44
|
#
|
|
45
45
|
# Params: $1 = version from dockerize invocation
|
|
46
|
-
# $2 = node image to dockerize, default:
|
|
46
|
+
# $2 = node image to dockerize, default: dubnium-alpine (node 10)
|
|
47
47
|
# $3 = additional packages to install (htop redis-cli etc)
|
|
48
48
|
create_Dockerfile() {
|
|
49
49
|
local regvers="${1}"
|
|
50
|
-
local nodeimg="${2:-
|
|
50
|
+
local nodeimg="${2:-dubnium-alpine}"
|
|
51
51
|
local apkadds="${3}"
|
|
52
52
|
echo "Creating the Dockerfile for node ${nodeimg}"
|
|
53
53
|
cat<<EODOCKER > Dockerfile
|