@leverege/build-tools 2.33.0 → 2.33.1
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/package.json +1 -1
- package/src/dockreate +3 -3
package/package.json
CHANGED
package/src/dockreate
CHANGED
|
@@ -4,7 +4,7 @@ if [ -z "$1" ]; then
|
|
|
4
4
|
exit 1
|
|
5
5
|
fi
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
# printf "\n****LOCAL DOCKREATE****\n\n" && sleep 1
|
|
8
8
|
|
|
9
9
|
# Load common bash functions
|
|
10
10
|
. `build-tools --bashfun`
|
|
@@ -118,7 +118,7 @@ COPY ./.npmrc /usr/src/app/.npmrc
|
|
|
118
118
|
RUN apk --no-cache add openssh-client && \
|
|
119
119
|
apk --update add --no-cache --virtual build-dep g++ gcc libgcc \\
|
|
120
120
|
libstdc++ linux-headers make ${apkadds} && \
|
|
121
|
-
npm install -g npm@
|
|
121
|
+
npm install -g npm@9 && \
|
|
122
122
|
npm ci --only=production --ignore-scripts --no-optional ${npmlogging} && \
|
|
123
123
|
rm -f /usr/src/app/.npmrc /root/.ssh/*
|
|
124
124
|
|
|
@@ -131,7 +131,7 @@ FROM node:${nodeimg}
|
|
|
131
131
|
# Install tini for PID 1 and replace shell with bash so we can source files
|
|
132
132
|
RUN apk update && \
|
|
133
133
|
apk add --no-cache bash curl tini vim ${apkadds} && \
|
|
134
|
-
npm install -g npm@
|
|
134
|
+
npm install -g npm@9 && \
|
|
135
135
|
rm /bin/sh && ln -s /bin/bash /bin/sh && \
|
|
136
136
|
mkdir -p /usr/src/app /tmp/levlog && \
|
|
137
137
|
chown node:node /usr/src/app
|