Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
55 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
build/ | ||
lib/ | ||
build-*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
# initialize from the image | ||
|
||
FROM ubuntu:14.04 | ||
FROM centos:centos7 | ||
|
||
# update package repositories | ||
|
||
RUN apt-get update | ||
|
||
# install build tools | ||
|
||
RUN apt-get install -y build-essential cmake git pkg-config | ||
RUN rpm -Uvh http://download.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm | ||
RUN yum install -y cmake gcc gcc-c++ git make pkgconfig wget | ||
|
||
# install dependencies for Linux build | ||
|
||
RUN apt-get install -y libboost-test1.54-dev libboost-system1.54-dev libboost-regex1.54-dev libboost-date-time1.54-dev libboost-thread1.54-dev libboost-filesystem1.54-dev libboost-program-options1.54-dev libboost-chrono1.54-dev libboost-atomic1.54-dev libprotobuf-dev libssl-dev libusb-1.0-0-dev | ||
RUN yum install -y boost-static libusbx-devel protobuf-devel protobuf-static | ||
RUN yum install -y boost-static.i686 libusbx-devel.i686 | ||
RUN yum install -y glibc-devel.i686 libgcc.i686 libstdc++.i686 zlib.i686 | ||
|
||
# install dependencies for Windows build | ||
# install 32bit protobuf packages from Fedora Koji until 32bit build of CentOS is ready | ||
|
||
RUN apt-get install -y mingw-w64 | ||
RUN wget https://kojipkgs.fedoraproject.org/packages/protobuf/2.5.0/6.fc21/i686/protobuf-2.5.0-6.fc21.i686.rpm https://kojipkgs.fedoraproject.org/packages/protobuf/2.5.0/6.fc21/i686/protobuf-devel-2.5.0-6.fc21.i686.rpm https://kojipkgs.fedoraproject.org/packages/protobuf/2.5.0/6.fc21/i686/protobuf-static-2.5.0-6.fc21.i686.rpm https://kojipkgs.fedoraproject.org/packages/protobuf/2.5.0/6.fc21/i686/protobuf-compiler-2.5.0-6.fc21.i686.rpm | ||
RUN rpm -ivh protobuf-2.5.0-6.fc21.i686.rpm protobuf-devel-2.5.0-6.fc21.i686.rpm protobuf-static-2.5.0-6.fc21.i686.rpm protobuf-compiler-2.5.0-6.fc21.i686.rpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#!/bin/sh | ||
|
||
IMAGETAG=trezord-build-env | ||
docker build -t $IMAGETAG . | ||
docker run -t -v $(pwd)/..:/trezord-src $IMAGETAG /trezord-src/build.sh lin32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
IMAGETAG=trezord-build-env | ||
docker build -t $IMAGETAG . | ||
docker run -i -t -v $(pwd)/..:/trezord-src $IMAGETAG /trezord-src/build.sh | ||
docker run -t -v $(pwd)/..:/trezord-src $IMAGETAG /trezord-src/build.sh lin64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#!/bin/sh | ||
|
||
IMAGETAG=trezord-build-env | ||
docker build -t $IMAGETAG . | ||
docker run -t -v $(pwd)/..:/trezord-src $IMAGETAG /trezord-src/build.sh win32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#!/bin/sh | ||
|
||
IMAGETAG=trezord-build-env | ||
docker build -t $IMAGETAG . | ||
docker run -t -v $(pwd)/..:/trezord-src $IMAGETAG /trezord-src/build.sh win64 |