File tree 2 files changed +21
-3
lines changed
2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,24 @@ git push && git push --tags
112
112
make release
113
113
```
114
114
115
+ To create a docker image:
116
+
117
+ ``` sh
118
+ make create-docker-image version=< version>
119
+ ```
120
+
121
+ By default, this will create a new image with two tags pointing to it:
122
+ - ` ethereum/trinity:<version> ` (explicit version)
123
+ - ` ethereum/trinity:latest ` (latest until overwritten with a future "latest")
124
+
125
+ Then, push to docker hub.
126
+
127
+ ``` sh
128
+ docker push ethereum/trinity:< version>
129
+ # the following may be left out if we were pushing a patch for an older version
130
+ docker push ethereum/trinity:latest
131
+ ```
132
+
115
133
116
134
#### How to bumpversion
117
135
Original file line number Diff line number Diff line change @@ -61,8 +61,8 @@ changes need to be made to the host system apart from having ``Docker`` itself i
61
61
62
62
.. note ::
63
63
While we don't officially support Windows just yet, running Trinity through ``Docker `` is a great
64
- way to bypass this current limitation as Trinity can run on any system that runs ``Docker ``,
65
- including Windows .
64
+ way to bypass this current limitation as Trinity can run on any system that runs ``Docker `` [with
65
+ support for linux containers](https://docs.docker.com/docker-for-windows/#switch-between-windows-and-linux-containers) .
66
66
67
67
Using ``Docker `` we have two different options to choose from.
68
68
@@ -94,7 +94,7 @@ our very own image directly from the source code.
94
94
95
95
make create-docker-image version=my-own-version
96
96
97
- After the images was built successfully we can run it by invoking:
97
+ After the image has been successfully created, we can run it by invoking:
98
98
99
99
.. code :: sh
100
100
You can’t perform that action at this time.
0 commit comments