- repro builds to use fixed uid=1000 inside the container
- in case the file permissions leak into the binaries, they are still reproducible
- chown 1000:1000 fresh_clone
- repro builds to create fresh_clone dir outside git clone
- otherwise the local dev build would still interact with the fresh_clone dir
- due to e.g. recursive "find -exec touch",
- and even the "docker build" cmd itself would try to stat/read it
- see https://github.com/docker/for-linux/issues/380
- and "rm -rf fresh_clone" needs sudo if the host uid is not 1000
- this way the local dev build does not need sudo
to recap:
- local dev builds use the host userid inside the container, directly operate on the project dir
- does not need sudo
- repro builds create a fresh git clone, chown it to 1000, and use userid=1000 inside the container
- if the host userid is 1000, does not need sudo
- otherwise, needs sudo
closes https://github.com/spesmilo/electrum/issues/8261
53 lines
773 B
Plaintext
53 lines
773 B
Plaintext
.git/
|
|
####-*.patch
|
|
**/*.pyc
|
|
*.swp
|
|
build/
|
|
dist/
|
|
*.egg/
|
|
Electrum.egg-info/
|
|
electrum/locale/
|
|
.devlocaltmp/
|
|
*_trial_temp
|
|
packages
|
|
env/
|
|
.buildozer
|
|
.buildozer_kivy/
|
|
.buildozer_qml/
|
|
bin/
|
|
/app.fil
|
|
.idea
|
|
.mypy_cache
|
|
.vscode
|
|
electrum_data
|
|
.DS_Store
|
|
|
|
# tests/tox
|
|
.tox/
|
|
.cache/
|
|
.coverage
|
|
.pytest_cache
|
|
|
|
# build workspaces
|
|
contrib/build-wine/tmp/
|
|
contrib/build-wine/build/
|
|
contrib/build-wine/.cache/
|
|
contrib/build-wine/dist/
|
|
contrib/build-wine/signed/
|
|
contrib/build-linux/appimage/build/
|
|
contrib/build-linux/appimage/.cache/
|
|
contrib/osx/.cache/
|
|
contrib/osx/build-venv/
|
|
contrib/android/android_debug.keystore
|
|
contrib/secp256k1/
|
|
contrib/zbar/
|
|
contrib/libusb/
|
|
contrib/.venv_make_packages/
|
|
|
|
# shared objects
|
|
electrum/*.so
|
|
electrum/*.so.*
|
|
electrum/*.dll
|
|
electrum/*.dylib
|
|
contrib/osx/*.dylib
|