Skip to content

[WIP] Longshoreman: Better docker caching, keep-network pinned dependencies - #34

Merged
mhluongo merged 5 commits into
masterfrom
longshoreman
Feb 12, 2018
Merged

[WIP] Longshoreman: Better docker caching, keep-network pinned dependencies#34
mhluongo merged 5 commits into
masterfrom
longshoreman

Conversation

@Shadowfiend

@Shadowfiend Shadowfiend commented Feb 9, 2018

Copy link
Copy Markdown
Contributor

Three things here:

In #33, we decided to go with this approach using dep. #30 is still open, but I think these changes will be relevant no matter what our conclusion there.

We were copying the whole source directory into the image and then dep
ensure-ing, but this means we'll run dep ensure every build. We now copy the
Gopkg files in first, such that if they are unchanged we can skip the dep
ensure step.
@mhluongo

Copy link
Copy Markdown
Member

Great start

We mention both docker (easy) and how to build natively (slightly harder).
@Shadowfiend

Copy link
Copy Markdown
Contributor Author

This is ready for final review/approval.

@mhluongo mhluongo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

Comment thread Dockerfile
RUN apt-get install -y llvm g++ libgmp-dev libssl-dev git-core build-essential
ENV BN_VERSION=d1a44d2f242692601b3e150b59044ab82f265b65
RUN git clone https://github.com/dfinity/bn
RUN git clone https://github.com/keep-network/bn

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🎉

@mhluongo
mhluongo merged commit df36f05 into master Feb 12, 2018
@Shadowfiend
Shadowfiend deleted the longshoreman branch May 17, 2018 14:49
dimpar pushed a commit that referenced this pull request Feb 10, 2023
lionakhnazarov pushed a commit to lionakhnazarov/keep-core that referenced this pull request Jul 12, 2026
lionakhnazarov pushed a commit to lionakhnazarov/keep-core that referenced this pull request Jul 12, 2026
…in epic

Combine the per-PR Keep a Changelog entries (threshold-network#36, threshold-network#37, threshold-network#34, threshold-network#38, threshold-network#39, threshold-network#40, #8,
#2, #14) into shared Added/Changed/Fixed/Security sections under [Unreleased].
lionakhnazarov pushed a commit to lionakhnazarov/keep-core that referenced this pull request Aug 10, 2026
lionakhnazarov pushed a commit to lionakhnazarov/keep-core that referenced this pull request Aug 10, 2026
…in epic

Combine the per-PR Keep a Changelog entries (threshold-network#36, threshold-network#37, threshold-network#34, threshold-network#38, threshold-network#39, threshold-network#40, #8,
#2, #14) into shared Added/Changed/Fixed/Security sections under [Unreleased].
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