File tree 11 files changed +48
-190
lines changed
11 files changed +48
-190
lines changed Original file line number Diff line number Diff line change
1
+ # Generated by Cargo
2
+ # will have compiled files and executables
3
+ target
4
+
5
+ * .swp
6
+ * .swo
7
+ * .swn
8
+ * .DS_Store
9
+
10
+ # Visual Studio Code stuff
11
+ .vscode
12
+
13
+ # GitEye stuff
14
+ .project
15
+
16
+ # idea ide
17
+ .idea
18
+
19
+ # git stuff
20
+ .git
21
+
22
+ ethcore /res /ethereum /tests
Original file line number Diff line number Diff line change
1
+ Usage
2
+
3
+ ``` docker build -f docker/ubuntu/Dockerfile --tag ethcore/parity:branch_or_tag_name . ```
Original file line number Diff line number Diff line change 1
1
FROM centos:latest
2
2
WORKDIR /build
3
+
3
4
# install tools and dependencies
4
5
RUN yum -y update&& \
5
6
yum install -y git make gcc-c++ gcc file binutils
7
+
6
8
# install rustup
7
9
RUN curl -sSf https://static.rust-lang.org/rustup.sh -o rustup.sh &&\
8
10
ls&&\
9
11
sh rustup.sh --disable-sudo
12
+
10
13
# show backtraces
11
14
ENV RUST_BACKTRACE 1
15
+
12
16
# set compiler
13
17
ENV CXX g++
14
18
ENV CC gcc
19
+
15
20
# show tools
16
21
RUN rustc -vV && \
17
22
cargo -V && \
18
23
gcc -v &&\
19
24
g++ -v
25
+
20
26
# build parity
21
- RUN git clone https://github.com/paritytech/parity && \
22
- cd parity&&\
23
- git checkout beta && \
24
- git pull && \
25
- ls -a&&\
26
- cargo build --release --verbose && \
27
+ ADD . /build/parity
28
+ RUN cd parity&&\
29
+ cargo build --release --verbose && \
27
30
ls /build/parity/target/release/parity && \
28
31
strip /build/parity/target/release/parity
29
32
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:14.04
2
2
WORKDIR /build
3
+
3
4
# install tools and dependencies
4
5
RUN apt-get -y update && \
5
6
apt-get install -y --force-yes --no-install-recommends \
@@ -24,14 +25,11 @@ RUN rustup target add aarch64-unknown-linux-gnu
24
25
ENV RUST_BACKTRACE 1
25
26
26
27
# show tools
27
- RUN rustc -vV && \
28
- cargo -V
28
+ RUN rustc -vV && cargo -V
29
29
30
30
# build parity
31
- RUN git clone https://github.com/paritytech/parity && \
32
- cd parity && \
33
- git checkout beta && \
34
- git pull && \
31
+ ADD . /build/parity
32
+ RUN cd parity && \
35
33
mkdir -p .cargo && \
36
34
echo '[target.aarch64-unknown-linux-gnu]\n \
37
35
linker = "aarch64-linux-gnu-gcc"\n ' \
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:14.04
2
2
WORKDIR /build
3
+
3
4
# install tools and dependencies
4
5
RUN apt-get -y update && \
5
6
apt-get install -y --force-yes --no-install-recommends \
@@ -23,16 +24,12 @@ RUN rustup target add armv7-unknown-linux-gnueabihf
23
24
# show backtraces
24
25
ENV RUST_BACKTRACE 1
25
26
26
-
27
27
# show tools
28
- RUN rustc -vV && \
29
- cargo -V
28
+ RUN rustc -vV && cargo -V
30
29
31
30
# build parity
32
- RUN git clone https://github.com/paritytech/parity && \
33
- cd parity && \
34
- git checkout beta && \
35
- git pull && \
31
+ ADD . /build/parity
32
+ RUN cd parity && \
36
33
mkdir -p .cargo && \
37
34
echo '[target.armv7-unknown-linux-gnueabihf]\n \
38
35
linker = "arm-linux-gnueabihf-gcc"\n ' \
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:14.04
2
2
WORKDIR /build
3
+
3
4
# install tools and dependencies
4
5
RUN apt-get update && \
5
6
apt-get install -y \
@@ -45,10 +46,8 @@ gcc -v &&\
45
46
g++ -v
46
47
47
48
# build parity
48
- RUN git clone https://github.com/paritytech/parity && \
49
- cd parity && \
50
- git checkout beta && \
51
- git pull && \
49
+ ADD . /build/parity
50
+ RUN cd parity && \
52
51
cargo build --release --features ethcore/jit --verbose && \
53
52
ls /build/parity/target/release/parity && \
54
53
strip /build/parity/target/release/parity
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:14.04
2
2
WORKDIR /build
3
+
3
4
# install tools and dependencies
4
5
RUN apt-get update && \
5
6
apt-get install -y \
@@ -29,10 +30,8 @@ gcc -v &&\
29
30
g++ -v
30
31
31
32
# build parity
32
- RUN git clone https://github.com/paritytech/parity && \
33
- cd parity && \
34
- git checkout beta && \
35
- git pull && \
33
+ ADD . /build/parity
34
+ RUN cd parity && \
36
35
cargo build --release --verbose && \
37
36
ls /build/parity/target/release/parity && \
38
37
strip /build/parity/target/release/parity
You can’t perform that action at this time.
0 commit comments