Skip to content

Commit

Permalink
Moving NPM installation to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Moya de Rivas committed Sep 15, 2020
1 parent 3ce1a14 commit b74ea4f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ LABEL "maintainer"="Nick Sjostrom"

COPY entrypoint.sh /entrypoint.sh

RUN apk update && apk add bash git curl jq && apk add --update nodejs npm
RUN apk update && apk add bash git curl jq && apk add --update nodejs npm && npm install -g semver

ENTRYPOINT ["/entrypoint.sh"]
1 change: 0 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash

set -o pipefail
npm install -g semver

# config
default_semvar_bump=${DEFAULT_BUMP:-minor}
Expand Down

0 comments on commit b74ea4f

Please sign in to comment.