Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

3 stage build #201

Merged
merged 3 commits into from Dec 5, 2017
Merged

3 stage build #201

merged 3 commits into from Dec 5, 2017

Conversation

prymitive
Copy link
Contributor

I've noticed that the docker images we use are running old nodejs version - https://travis-ci.org/cloudflare/unsee/jobs/311602111#L529
As a result dependencies aren't correctly enforced when building docker image - https://travis-ci.org/cloudflare/unsee/jobs/311602111#L1573

Using separate nodejs and Go images seems like the best solution. Makefile cleanup was needed to add this. With this PR all nodejs deps are installed in the correct version - https://travis-ci.org/cloudflare/unsee/jobs/311697485#L558

@prymitive prymitive added the bug label Dec 5, 2017
@prymitive prymitive added this to the v0.9 milestone Dec 5, 2017
Reduce number of targets used internally for building and use less confusing names. Add webpack target that will be needed for node only docker build stage.
Go docker image uses old nodejs, split build into 2 stages so we can have better control over used nodejs and Go images
…ravis runs npm install and then we run it too
@prymitive prymitive merged commit d9b8093 into master Dec 5, 2017
@prymitive prymitive deleted the 3-stage-build branch December 5, 2017 17:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants