Skip to content

Node Upgrade - #73

Merged
tegioz merged 4 commits into
coreroller:masterfrom
captn3m0:node-upgrade
Jul 19, 2018
Merged

tegioz merged 4 commits into
coreroller:masterfrom
captn3m0:node-upgrade

Conversation

@captn3m0

@captn3m0 captn3m0 commented Jul 16, 2018 •

Copy link
Copy Markdown
Contributor
  • Upgrades node
  • Switches to Alpine 3.8
  • Removes shrinkwrap (and npm-shrinkwrap)
  • Less.JS upgrade (breaks on node>6.0) (This is currently breaking the latest version)
  • Breaks node steps to a separate assets pipeline
  • Removes all go/npm installation steps - faster build!

As a workaround for #74, I've added some build args to allow builds from other sources. You can trigger it using:

docker build . -t coreroller-demo --build-arg GIT_REMOTE_URL=https://github.com/captn3m0/coreroller --build-arg GIT_BRANCH=node-upgrade

to use a different source for the build. The right solution would be the local source, will see if I can file a clean PR for that once this is merged.

captn3m0 added 3 commits July 16, 2018 10:54
- Switches to package-lock.json for supporting modern node
- Removes npm-shrinkwrap package, which breaks  in npm>3
- Upgrades less.js because of less/less.js#2881
@tegioz

tegioz commented Jul 16, 2018

Copy link
Copy Markdown
Contributor

Thanks @captn3m0!

Would you mind updating alpine to 3.8 in the postgres image as well please (plus any other change you may consider relevant for consistency reasons)?

@captn3m0

Copy link
Copy Markdown
Contributor Author

@tegioz Upgraded the postgres image as well. Should be good to go.

@tegioz
tegioz merged commit fa374e6 into coreroller:master Jul 19, 2018
@tegioz

tegioz commented Jul 19, 2018

Copy link
Copy Markdown
Contributor

Thanks @captn3m0!

@captn3m0
captn3m0 deleted the node-upgrade branch July 23, 2018 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants