@leverege/build-tools 2.5.17 → 2.5.19
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.
|
Binary file
|
|
@@ -102,7 +102,7 @@ class Gitter {
|
|
|
102
102
|
`));
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
const initialCommit = `repo-init => bootstrapped ${buildSpec.template.type} ${buildSpec.
|
|
105
|
+
const initialCommit = `repo-init => bootstrapped ${buildSpec.template.type} ${buildSpec.git.name}`;
|
|
106
106
|
/**
|
|
107
107
|
* We need to have an initialized git repo before attempting to do an
|
|
108
108
|
* npm install since there are husky rules and it needs git.
|
package/package.json
CHANGED
package/src/dockreate
CHANGED
|
@@ -51,7 +51,7 @@ strip_undefined() {
|
|
|
51
51
|
create_Dockerfile() {
|
|
52
52
|
local regvers="${1}"
|
|
53
53
|
local nodeimg="${2:-fermium-alpine}"
|
|
54
|
-
local apkadds="${3}"
|
|
54
|
+
local apkadds="${3:-python}"
|
|
55
55
|
echo "Creating the Dockerfile for node ${nodeimg}"
|
|
56
56
|
cat<<DOCKERBLD > Dockerfile
|
|
57
57
|
# Version ${regvers} @ `date`
|
|
@@ -74,7 +74,7 @@ ENV GRPC_VERBOSITY ERROR
|
|
|
74
74
|
COPY ./.npmrc /usr/src/app/.npmrc
|
|
75
75
|
RUN apk --no-cache add curl git openssh-client && \
|
|
76
76
|
apk --update add --no-cache --virtual build-dep g++ gcc libgcc \\
|
|
77
|
-
libstdc++ linux-headers make
|
|
77
|
+
libstdc++ linux-headers make ${apkadds} && \
|
|
78
78
|
npm install --production --silent && \
|
|
79
79
|
rm -f /usr/src/app/.npmrc /root/.ssh/*
|
|
80
80
|
|