@leverege/build-tools 2.5.18 → 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.
- package/lib/server/repo-init/config.tgz +0 -0
- package/package.json +1 -1
- package/src/dockreate +2 -2
|
Binary file
|
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
|
|