mirror of
https://github.com/cryptoadvance/specter-desktop.git
synced 2026-08-13 12:33:29 +02:00
docker docs: fix up Readme.md files (#792)
* docs: fix up changelog Readme.md * docs: fixup electron-builder README.md * docs: fixup python-bitcoind Readme.md
This commit is contained in:
parent
7a11b70002
commit
621cfe0302
3 changed files with 24 additions and 4 deletions
|
|
@ -1,6 +1,7 @@
|
|||
Used for building the electron-app. In short it's the /pyinstaller/build-unix.sh script which is running in this image.
|
||||
|
||||
manually do it something like this (copied from [here](https://www.electron.build/multi-platform-build#build-electron-app-using-docker-on-a-local-machine)):
|
||||
|
||||
```
|
||||
docker run --rm -ti \
|
||||
--env-file <(env | grep -iE 'DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS_TAG|TRAVIS|TRAVIS_REPO_|TRAVIS_BUILD_|TRAVIS_BRANCH|TRAVIS_PULL_REQUEST_|APPVEYOR_|CSC_|GH_|GITHUB_|BT_|AWS_|STRIP|BUILD_') \
|
||||
|
|
@ -14,6 +15,7 @@ docker run --rm -ti \
|
|||
```
|
||||
|
||||
build the image like:
|
||||
|
||||
```
|
||||
docker build -t registry.gitlab.com/cryptoadvance/specter-desktop/electron-builder:latest .
|
||||
docker push registry.gitlab.com/cryptoadvance/specter-desktop/electron-builder:latest
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
An image usabel to create changelogs.
|
||||
An image used to create changelogs.
|
||||
|
||||
Create it like this:
|
||||
|
||||
```
|
||||
docker build . -t registry.gitlab.com/cryptoadvance/specter-desktop/github-changelog:latest
|
||||
docker push registry.gitlab.com/cryptoadvance/specter-desktop/github-changelog:latest
|
||||
|
|
@ -16,6 +17,9 @@ cp docs/release-notes.md docs/release-notes.md.orig
|
|||
cat docs/new_release_notes.md docs/release-notes.md.orig > docs/release-notes.md
|
||||
rm docs/release-notes.md.orig docs/new_release_notes.md
|
||||
|
||||
```
|
||||
# This will print out links to all PRs in order to review better
|
||||
|
||||
```
|
||||
docker run 4a3dd375832d -m --github-token $GH_TOKEN --branch master cryptoadvance specter-desktop $latest_version > docs/new_release_notes.md
|
||||
``
|
||||
```
|
||||
|
|
|
|||
|
|
@ -1,8 +1,22 @@
|
|||
This Dockerimage is manually created and uploaded:
|
||||
|
||||
```
|
||||
docker build -t registry.gitlab.com/cryptoadvance/specter-desktop/python-bitcoind:v0.20.1 .
|
||||
```
|
||||
```
|
||||
docker push registry.gitlab.com/cryptoadvance/specter-desktop/python-bitcoind:v0.20.1
|
||||
|
||||
```
|
||||
Here the version is v0.20.1 but that's just an example. This folder just explains how the image is created. Which image is USED is specified:
|
||||
|
||||
* In the case of tests in pytest.ini in the addopts-line (MIGHT be different in different branches)
|
||||
* in the case of running `python3 -m cryptoadvance.specter bitcoind` it's using "latest" but you can override like this: `python3 -m cryptoadvance.specter bitcoind --docker-tag v0.19.1`
|
||||
* in the case of running
|
||||
|
||||
```
|
||||
python3 -m cryptoadvance.specter bitcoind #it's using "latest"
|
||||
```
|
||||
|
||||
but you can override like this:
|
||||
|
||||
```
|
||||
python3 -m cryptoadvance.specter bitcoind --docker-tag v0.19.1
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue