Commit Graph

58 Commits

Author SHA1 Message Date
Sean Darcy 2822747a62 lokinet revert 2021-01-07 18:40:22 -04:00
Doyle 2638a3b4ba Merge commit '647c069db6d13241d9a5785d88e89a3249eeabe7' into MergeUpstream3 2020-05-29 10:41:22 +10:00
ArqTras 647c069db6 openssl update
Not available source updated

g version
2020-04-27 10:52:51 +02:00
Doyle 120f37ebdf Replace ARG NPROC with invoke $(nproc) directly, remove unbound hack
- ARG is a build time variable that you must pass in via docker build
--build-arg NPROC=<number>. What we want is if NPROC is not set, use
$(nproc) otherwise use NPROC passed via command line. You can't do this,
even with setting ENV, because it can't evaluate commands at runtime.

Exporting commands via RUN, only persist for that RUN command as each
RUN sets up a containerized ENV, so you'd have to run an if/else check
for each RUN. There are other hacky work-arounds like writing $(nproc)
to a file and reading it if NPROC isn't passed but all of this is more
trouble than its worth.

When we have an issue with needing to restrict the -j param on make, we
can use one of the workarounds.

- Change openssl to just vanilla make and make install_sw, currently as
is doesn't work in the container, reports make error.
2020-03-13 11:00:34 +11:00
Doyle 933c16b92d Docker static build hacks/fixes for Valiant Vidar
- use kitware upstream cmake instead of building it from source
- use NPROC everywhere
- upgrade openssl to 1.1.1d
- don't install libzmq (just let loki-mq build it)
- boost 1.72
- various tweaks to build parameters to speed up/correct build a bit
2020-03-13 11:00:34 +11:00
Doyle 6db16af82c Add sqlite3 support for depends and dockerfile 2020-02-13 11:07:46 +11:00
Doyle c3cf564a42
Disable soidum shared, enable static explicitly to force static link in binary (#1003) 2020-01-09 12:37:04 +11:00
Doyle 951a93f1fa dockerfile: Build Sodium before ZMQ for --with-libsodium for symbol decl conflicts
Make collect script more sane, don't go backwards in directory
2019-10-10 11:53:06 +11:00
HomDX a63e212f32 Docker updated dependencies cmake boost sodium cppzmq udev protobuf zmq 2019-08-14 10:47:23 +03:00
Doyle 46457da4e5
Remove ncurses and disable readline for Dockerfile (#652)
Unresolved bug with readline backspace causing the terminal cursor to
increment forward.
2019-06-24 20:21:39 +10:00
Doyle aded2cef69 Merge commit '1ed6441' into LokiMergeUpstream 2019-04-12 17:44:20 +10:00
Doyle b985a05dd3 Merge commit 'cd776b1' into LokiMergeUpstream 2019-04-12 16:23:54 +10:00
Riccardo Spagni 99a96db67f
Merge pull request #5313
d7dd8575 Upgraded static dependency versions and hashes in Dockerfile. (Norman Moeschter)
2019-04-01 17:28:25 +02:00
Norman Moeschter d7dd857579
Upgraded static dependency versions and hashes in Dockerfile. 2019-03-19 14:09:28 +01:00
scilicet64 b8dc15a97b fix correct exposed ports in Docker (#495)
* fix correct exposed ports in Docker

* add exposed Docker port to Readme example
2019-03-18 09:49:14 +10:00
Jean-Michel DILLY 22136256a4 Start monerod as non root user 2019-03-09 23:22:03 +01:00
doy-lee 9eefb869f8 Merge commit '69e8567' into LokiMergeUpstream 2019-01-17 15:57:30 +11:00
Dusan Klinec e37154a879
build: protobuf dependency fixes, libusb build
- docker protobuf dependencies, cross-compilation
- device/trezor protobuf build fixes, try_compile
- libusb built under all platforms, used by trezor for direct connect
2018-12-18 16:50:19 +01:00
doy-lee 40506127a4 Merge commit '7e957c1' into LokiMergeUpstream 2018-12-11 13:46:35 +11:00
Hom DX 4cd881369a Updated dependencies Cmake 3.13, CPPZMQ 4.3.0, OPENSSL 1.1.0j 2018-11-23 09:48:41 +03:00
doy-lee e36737a525 Merge commit 'd0c4123' into LokiMergeUpstream 2018-11-22 13:27:45 +11:00
doy-lee af0c9b8e6c Merge commit '4cbb476' into LokiMergeUpstream 2018-10-31 17:41:45 +11:00
MoroccanMalinois 6789385cd0
Dockerfile: add udev, libusb and hidapi build 2018-10-29 09:17:32 +01:00
doy-lee 5c0e0a56bc Merge commit 'ad8e6ee' into CherryPickUnboundWindowsBuildFix 2018-10-22 12:14:58 +11:00
Tyler Baker 991613f88a
Dockerfile: init and update submodules
The Docker image is failing to build, as the submodules are not being
explicitly initialized and updated.

Fixes: https://github.com/monero-project/monero/issues/4582

Signed-off-by: Tyler Baker <tyler@foundries.io>
2018-10-14 14:42:51 -07:00
doy-lee cf32598ec5 Merge commit 'cd8c7f6' into LokiMergeUpstreamUntil_20181010_77e1ebf 2018-10-10 14:38:40 +11:00
doy-lee 3362d434d5 Merge commit 'fd74815' into LokiMergeUpstreamUntil_20181010_77e1ebf 2018-10-10 13:54:26 +11:00
doy-lee d3501cfc73 Merge commit '4a1744e' into LokiMergeUpstreamUntil_20180911_e6d36c1 2018-10-10 13:28:43 +11:00
doy-lee 3f85a1b716 Merge commit '89645ec' into LokiMergeUpstream20180821 2018-09-25 17:50:49 +10:00
MoroccanMalinois 936e22a9b5
Dockerfile: use single build dir 2018-09-25 00:16:13 +02:00
Riccardo Spagni 93f473e9f8
Merge pull request #4397
a4065bf2 Fixes Dockerfile build problem #4396 (OPSXCQ)
2018-09-21 20:45:48 +02:00
doy-lee 027b8281aa Merge commit 'eed4dba' into LokiMergeUpstream20180821 2018-09-19 13:44:41 +10:00
OPSXCQ a4065bf267
Fixes Dockerfile build problem #4396 2018-09-17 14:36:33 +00:00
HomDx 9a66d9f48b Docker: Updated dependencies cmake 3.12.1 and boost 1.68 2018-09-01 22:20:12 +03:00
Doyle T 764ad360e7 Add -fPIC to dockerfile for ncurses 2018-08-22 11:28:21 +10:00
Doyle T 06c80f48a5 Fix readline for linux by adding ncurses and finding libtinfo first 2018-08-22 11:12:38 +10:00
HomDx 3411326a04 Docker: updated cmake version 2018-08-02 23:29:01 +03:00
HomDx 9c211b50de docker: update to new versions of dependencies 2018-07-03 21:52:07 +03:00
jcktm 00cf2ddc04 Merge branch 'dev' 2018-06-15 12:35:41 +10:00
mouradski 77234e3ef7 Changing daemon name in Dockerfile (#76)
* Changing daemon name

* Update Dockerfile
2018-05-21 21:46:34 -04:00
cornfeedhobo b55c14cd1f
fix sha256sum check, which requires two spaces. added set -ex to catch this, and other, errors in the future. 2018-03-18 18:07:10 -05:00
MoroccanMalinois 7c81cc495f
Dockerfile: add boost locale 2018-03-05 18:28:37 +00:00
Tadeas Moravec 18057b20a3 Updating Boost download URL.
Boost does not use Sourceforge anymore. Instead, their download links
point to dl.bintray.com.

Earlier today Sourceforge was down, and later the Boost downloaded file
checksum did not match, which further reinforces the need to change
the URL.
2018-02-25 19:40:25 +01:00
MoroccanMalinois 49c803ad7d
Dockerfile: build dependencies with -fPIC 2018-02-02 13:45:28 +00:00
Riccardo Spagni c443a98217
Merge pull request #2923
a7e2e1b0 fix: bind RPC to all interfaces inside Docker container (Alexander Azarov)
2017-12-25 21:18:59 +02:00
Alexander Azarov a7e2e1b07f fix: bind RPC to all interfaces inside Docker container
Binding RPC to 127.0.0.1 makes no sense. Despite the fact port 18081 is
exposed, no one will be able to connect to the daemon.

RPC should be listening at all interfaces when running inside a Docker
container.
2017-12-14 23:11:30 +02:00
MoroccanMalinois 37f9c6e651
Dockerfile: add option to set build parallelism 2017-12-11 23:33:08 +00:00
Bruno Clermont e41cc58d7a Fix docker image dependencies, don't install libraries statically linked 2017-11-18 14:45:39 +08:00
Bruno Clermont 2ddbc3ef6e use make 2017-11-18 11:27:14 +08:00
Bruno Clermont 81ac0e91cb Force docker image to use --non-interactive 2017-11-18 11:22:45 +08:00