-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Docker for build #3879
Update Docker for build #3879
Conversation
homdx
commented
May 29, 2018
- Fix Docker for build v7
- Update version deps packages
Dockerfile
Outdated
RUN set -ex \ | ||
&& curl -s -L -o boost_${BOOST_VERSION}.tar.bz2 https://dl.bintray.com/boostorg/release/${BOOST_VERSION_DOT}/source/boost_${BOOST_VERSION}.tar.bz2 \ | ||
&& echo "${BOOST_HASH} boost_${BOOST_VERSION}.tar.bz2" | sha256sum -c \ | ||
&& echo "${BOOST_HASH} boost_${BOOST_VERSION}.tar.bz2" | sha256sum -c \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spurious whitespace changes (and these are actually needed apparently)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added space in next commit
Dockerfile
Outdated
@@ -93,6 +109,8 @@ RUN set -ex \ | |||
&& make check \ | |||
&& make install | |||
|
|||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spurious
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed to enter in next commit
@@ -448,6 +448,9 @@ Then you can run make as usual. | |||
# Get binaries | |||
docker cp monero-android:/opt/android/monero/build/release/bin . | |||
|
|||
|
|||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spurious
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in next commit
README.md
Outdated
@@ -498,6 +501,10 @@ Installing a snap is very quick. Snaps are secure. They are isolated with all of | |||
# or in background | |||
docker run -it -d -v /monero/chain:/root/.bitmonero -v /monero/wallet:/wallet -p 18080:18080 monero | |||
|
|||
* need 3 Gb space |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The build needs 3 GB space.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in next commit
Dockerfile
Outdated
@@ -1,7 +1,7 @@ | |||
# Multistage docker build, requires docker 17.05 | |||
|
|||
# builder stage | |||
FROM ubuntu:16.04 as builder | |||
FROM debian:jessie as builder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked under Ubuntu. In next commit revert to 16.04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready for review. You can sea build this docker:
Dockerfile
Outdated
RUN set -ex \ | ||
&& curl -s -O https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz \ | ||
&& echo "${OPENSSL_HASH} openssl-${OPENSSL_VERSION}.tar.gz" | sha256sum -c \ | ||
&& echo "${OPENSSL_HASH} openssl-${OPENSSL_VERSION}.tar.gz" | sha256sum -c \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added spaces
Dockerfile
Outdated
ARG CMAKE_HASH=8f864e9f78917de3e1483e256270daabc4a321741592c5b36af028e72bff87f5 | ||
RUN set -ex \ | ||
&& curl -s -O https://cmake.org/files/${CMAKE_VERSION_DOT}/cmake-${CMAKE_VERSION}.tar.gz \ | ||
&& echo "${CMAKE_HASH} cmake-${CMAKE_VERSION}.tar.gz" | sha256sum -c \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That one will also need two spaces to work with some tools.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, write tools name
There's just the remaining added lines without any other change, then please squash and it's good to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can check again
They're still here, but whatever. Not super important at this point. Just rebase/squash and we're good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's worth updating all the dependent components to stable versions. that I realized
It would be nice if you could rebase/squash very soon, there'll be a 0.12.3.0 and this could go in if ready. |
I w merge latest 3 commits in one |
There's a "Merge remote-tracking branch 'upstream/master' " in there. Rebaseing (rather than merging) should fix it. |
I pull a remote branch master to my fork |
Even worse now, there are two. |
Updated this |
Thanks, I approved the other, this can can be closed now. |
+duplicate |