mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-21 08:15:14 +02:00
Stop using NPM3 for now, it's super slow and buggy.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM openstf/base:v1.0.5
|
FROM openstf/base:v1.0.6
|
||||||
|
|
||||||
# Sneak the stf executable into $PATH.
|
# Sneak the stf executable into $PATH.
|
||||||
ENV PATH /app/bin:$PATH
|
ENV PATH /app/bin:$PATH
|
||||||
@@ -24,7 +24,7 @@ USER stf-build
|
|||||||
RUN set -x && \
|
RUN set -x && \
|
||||||
cd /tmp/build && \
|
cd /tmp/build && \
|
||||||
export PATH=$PWD/node_modules/.bin:$PATH && \
|
export PATH=$PWD/node_modules/.bin:$PATH && \
|
||||||
npm install && \
|
npm install --log-level http && \
|
||||||
npm pack && \
|
npm pack && \
|
||||||
tar xzf stf-*.tgz --strip-components 1 -C /app && \
|
tar xzf stf-*.tgz --strip-components 1 -C /app && \
|
||||||
bower cache clean && \
|
bower cache clean && \
|
||||||
|
|||||||
Reference in New Issue
Block a user