Permalink
Browse files

Clean up dependencies and build dockerfiles

  • Loading branch information...
metalicjames committed Oct 21, 2017
1 parent fc36ee2 commit 10e5d3a3e1bd43c614e089b1562736aaf7a524c6
Showing with 30 additions and 16,910 deletions.
  1. +0 −2 Dockerfile
  2. +0 −10 Dockerfile.base
  3. +1 −1 Makefile
  4. +3 −0 build.sh
  5. +21 −0 build/base/Dockerfile
  6. +0 −9 install.sh
  7. +0 −67 installdeps.sh
  8. +2 −2 src/blockchaintypes.h
  9. +0 −382 src/crypto/Lyra2RE/Lyra2.c
  10. +0 −44 src/crypto/Lyra2RE/Lyra2.h
  11. +0 −110 src/crypto/Lyra2RE/Lyra2RE.c
  12. +0 −15 src/crypto/Lyra2RE/Lyra2RE.h
  13. +0 −745 src/crypto/Lyra2RE/Sponge.c
  14. +0 −108 src/crypto/Lyra2RE/Sponge.h
  15. +0 −1,120 src/crypto/Lyra2RE/blake.c
  16. +0 −958 src/crypto/Lyra2RE/bmw.c
  17. +0 −718 src/crypto/Lyra2RE/cubehash.c
  18. +0 −3,119 src/crypto/Lyra2RE/groestl.c
  19. +0 −1,824 src/crypto/Lyra2RE/keccak.c
  20. +0 −1,254 src/crypto/Lyra2RE/skein.c
  21. +0 −327 src/crypto/Lyra2RE/sph_blake.h
  22. +0 −321 src/crypto/Lyra2RE/sph_bmw.h
  23. +0 −286 src/crypto/Lyra2RE/sph_cubehash.h
  24. +0 −329 src/crypto/Lyra2RE/sph_groestl.h
  25. +0 −293 src/crypto/Lyra2RE/sph_keccak.h
  26. +0 −298 src/crypto/Lyra2RE/sph_skein.h
  27. +0 −1,976 src/crypto/Lyra2RE/sph_types.h
  28. +0 −217 src/crypto/aes.cpp
  29. +0 −118 src/crypto/aes.h
  30. +0 −21 src/crypto/ctaes/COPYING
  31. +0 −41 src/crypto/ctaes/README.md
  32. +0 −170 src/crypto/ctaes/bench.c
  33. +0 −556 src/crypto/ctaes/ctaes.c
  34. +0 −41 src/crypto/ctaes/ctaes.h
  35. +0 −110 src/crypto/ctaes/test.c
  36. +0 −34 src/crypto/hmac_sha256.cpp
  37. +0 −32 src/crypto/hmac_sha256.h
  38. +0 −34 src/crypto/hmac_sha512.cpp
  39. +0 −32 src/crypto/hmac_sha512.h
  40. +0 −139 src/crypto/scrypt-sse2.cpp
  41. +0 −327 src/crypto/scrypt.cpp
  42. +0 −38 src/crypto/scrypt.h
  43. +0 −199 src/crypto/sha1.cpp
  44. +0 −28 src/crypto/sha1.h
  45. +0 −189 src/crypto/sha256.cpp
  46. +0 −28 src/crypto/sha256.h
  47. +0 −207 src/crypto/sha512.cpp
  48. +0 −28 src/crypto/sha512.h
  49. +0 −1 src/utility.cpp
  50. +3 −2 src/utility.h
@@ -1,7 +1,5 @@
FROM vtc-wallet-middleware-base

RUN apt-get update

ADD src /root/sources/vtc-wallet-middleware-cpp/src
ADD Makefile /root/sources/vtc-wallet-middleware-cpp/Makefile

This file was deleted.

Oops, something went wrong.
@@ -32,7 +32,7 @@ PLATFORMCXXFLAGS += -g -Wall -std=c++14 -O3 -Wl,-E
INDEXERSRC = src/main.cpp src/blockfilewatcher.cpp src/blockscanner.cpp src/scriptsolver.cpp src/httpserver.cpp src/utility.cpp src/blockreader.cpp src/filereader.cpp src/blockindexer.cpp src/crypto/ripemd160.cpp src/crypto/base58.cpp src/crypto/bech32.cpp
INDEXEROBJS = $(INDEXERSRC:.cpp=.cpp.o)

INDEXERLDFLAGS = $(BINFLAGS) -lck -llua5.3 -lrestbed -lcrypto -ldl -pthread -lleveldb -lcurl -lssl -lsfml-system -lsecp256k1 -lsfml-network
INDEXERLDFLAGS = $(BINFLAGS) -lrestbed -lcrypto -ldl -pthread -lleveldb -lssl -lsecp256k1

CXXFLAGS = $(PLATFORMCXXFLAGS)

@@ -0,0 +1,3 @@
#!/bin/sh
docker build -t vtc-wallet-middleware-base build/base/
docker build -t vtc-wallet-middleware .
@@ -0,0 +1,21 @@
FROM ubuntu:16.04

RUN apt-get update
RUN apt install -y git wget build-essential libleveldb-dev cmake automake libssl-dev libtool autoconf

RUN git clone --recursive https://github.com/Corvusoft/restbed
RUN mkdir restbed/build
WORKDIR /restbed/build
RUN cmake ..
RUN make install
RUN cp -r ../distribution/include/* /usr/local/include
RUN cp -r ../distribution/library/* /usr/lib

WORKDIR /
RUN git clone https://github.com/vertcoin/vertcoin
WORKDIR /vertcoin/src/secp256k1
RUN ./autogen.sh
RUN ./configure
RUN make
RUN make install

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
@@ -23,7 +23,7 @@

#include <stdlib.h>
#include <vector>
#include <ck/ckmath.h>

using namespace std;

namespace VtcBlockIndexer {
@@ -70,4 +70,4 @@ struct Block {


}
#endif // BLOCKCHAINTYPES_H_INCLUDED
#endif // BLOCKCHAINTYPES_H_INCLUDED
Oops, something went wrong.

0 comments on commit 10e5d3a

Please sign in to comment.