Skip to content

Commit

Permalink
combine functions for easier maintenance.
Browse files Browse the repository at this point in the history
  • Loading branch information
RaymondMouthaan committed Aug 23, 2019
1 parent edd5bdd commit 284ae9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .docker/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ USER node-red

# package.json contains Node-RED NPM module and node dependencies
COPY package.json /usr/src/node-red/
RUN npm install
RUN npm install -g npm@next

# Replace Python 2.7 with 3.6 in 36-rpi-gpio.js or remove Node-RED build-in rpi-gpio for non arm32v6
USER root
Expand Down
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,10 @@ before_script:
# Set BUILD_VERSION
- if [ ! -z "${TRAVIS_TAG}" ]; then export BUILD_VERSION=${TRAVIS_TAG:1}; else export BUILD_VERSION=beta; fi

# Set Node-RED version
# Set NODE_RED_VERSION
- >
export NODE_RED_VERSION=$(grep -Eo "\"node-red\": \"(\w*.\w*.\w*)" package.json | cut -d\" -f4)
# Update NODE_RED_VERSION from package.json
#- ./.docker/update_version.sh

script:
# Build Docker image
- ./.docker/docker.sh build
Expand Down

0 comments on commit 284ae9e

Please sign in to comment.