Skip to content
Extraits de code Groupes Projets
Valider 922d6945 rédigé par Adrian Malacoda's avatar Adrian Malacoda
Parcourir les fichiers

Generate links to tools in /usr/bin

parent b79adb7c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -10,7 +10,8 @@ RUN apk add --no-cache -t build-deps make gcc g++ python ca-certificates libc-de ...@@ -10,7 +10,8 @@ RUN apk add --no-cache -t build-deps make gcc g++ python ca-certificates libc-de
&& mv node_modules / \ && mv node_modules / \
&& cd / \ && cd / \
&& rm -rf /tmp/* \ && rm -rf /tmp/* \
&& apk del build-deps && apk del build-deps \
&& sh -c 'cd /build/tools; for TOOL in *.js; do LINK="/usr/bin/$(basename $TOOL .js)"; echo -e "#/bin/sh\nnode /build/tools/$TOOL \$@" > $LINK; chmod +x $LINK; done'
ENV NODE_ENV=production ENV NODE_ENV=production
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter