Skip to content
This repository was archived by the owner on Mar 17, 2022. It is now read-only.

Add docker support #3

Merged
merged 5 commits into from
Feb 11, 2020
Merged

Add docker support #3

merged 5 commits into from
Feb 11, 2020

Conversation

easy2stake
Copy link
Contributor

Updated README.
Added docker file.


Please read before merge:

During npm install there is a point where it is trying to do a "node-gyp rebuild".
This will fail with many dependency misses. In order to fix the dependencies the following packages are added to the image: python and alpine-sdk.

After adding the packages it is no longer prompting errors buy a big load of warnings such as:
warning: cast between incompatible function types

The adapter seems to be working correctly in both cases (with or without the dependencies above).

root and others added 2 commits January 20, 2020 19:36
Docker instructions
@boxhock
Copy link
Contributor

boxhock commented Jan 20, 2020

Regarding NPM install errors: do you encounter this error with Yarn as well? I think the error is related to the OS, but this repository includes a yarn lockfile, so I would prefer we use that.

@boxhock boxhock self-requested a review January 21, 2020 11:21
Copy link
Contributor

@boxhock boxhock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments regarding Yarn and the readme.

Using yarn instead of npm.
Removing "docker run" optional parameters.
@easy2stake easy2stake requested a review from boxhock February 10, 2020 11:09
Copy link
Contributor

@boxhock boxhock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still just missing the newline before the header in the readme. Otherwise it LGTM

@boxhock boxhock merged commit 3633aae into smartcontractkit:master Feb 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants