mirror of
https://github.com/cryptoadvance/specter-desktop.git
synced 2026-08-13 12:33:29 +02:00
* changed class name * Working requirements.in * Reordered lines to see changes better * Working minimal upgrades * Added hashes * - Upgraded python to 3.10 and bitcoin to v23.0 - Added libzmq to build process, to enable future use cases such as https://github.com/cryptoadvance/specter-desktop/issues/778 - added --without-gui to remove configure warning that gui will not be built. * Added line-break * - Updated the embit version to 0.4.13 - pushed python-bitcoind image * - Build registry.gitlab.com/c8527/specter/cirrus-jammy:20220504 - updated docker references * - added cypress-base-ubuntu-jammy * - added cypress-python * - fixed unchanged registry path * Fixed wrong path * readme change * Fixed path * Changed github-changelog * changes registrar links * Fixed bitcoin version * Set reset bitcoin version to 22 * Set bitcoin version to 22.0 * Fixed black issue via https://github.com/psf/black/issues/2964#issuecomment-1080974737 * Revert for changelog * Upgraded pytest because otherwise I get the error https://github.com/pytest-dev/pytest/discussions/9195 * Added temporary fix for upgraded hwi version. Should be fixed in https://github.com/cryptoadvance/specter-desktop/pull/1693 * more verbosity for page generation * doc about python 3.10 * docs: update TOC * yet another library necessary * black * Corrected tag * Fixed wrong python version introduced in the merge commit * Use same babel version across requirements and test_requirements * Created the reuqirements.txt with python 3.8 such, that that netlify can create the python docs in python 3.8, while everything elese works also with python 3.10 * testing https://peps.python.org/pep-0508/#environment-markers * CHanged just the txt * Added comments * electron docker build successful * rename image to cypress-python:v9.7.0 * doc * docker file rename * fix pyinstaller pip error by changing requirements.in * reference jammy electron dockerfile See https://github.com/electron-userland/electron-builder/pull/6922#issuecomment-1234420845 * updated all references to dockerimages * fix release-build * fix the image-version to something else than latest. pin all the stuff! * revert to old image to avoid glibc issues Co-authored-by: Kim Neunert <k9ert@gmx.de> Co-authored-by: k9ert <k9ert@users.noreply.github.com>
45 lines
2.4 KiB
Docker
45 lines
2.4 KiB
Docker
|
|
FROM python:3.10
|
|
|
|
# Installing BerkleyDB 4.8.30
|
|
# Ubuntu specific buw works on debian Buster as well
|
|
RUN apt remove libdb5.3-dev -y
|
|
RUN wget https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin/+files/libdb4.8++-dev_4.8.30-artful3_amd64.deb && \
|
|
wget https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin/+files/db4.8-util_4.8.30-artful3_amd64.deb && \
|
|
wget https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin/+files/libdb4.8-dbg_4.8.30-artful3_amd64.deb && \
|
|
wget https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin/+files/libdb4.8_4.8.30-artful3_amd64.deb && \
|
|
wget https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin/+files/libdb4.8-dev_4.8.30-artful3_amd64.deb && \
|
|
wget https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin/+files/libdb4.8++_4.8.30-artful3_amd64.deb
|
|
RUN dpkg -i *.deb && rm *.deb
|
|
|
|
RUN apt update && apt install git build-essential autoconf libboost-all-dev libssl-dev libprotobuf-dev \
|
|
protobuf-compiler libqrencode-dev libtool libevent-dev pkg-config bsdmainutils \
|
|
libzmq5-dev -y
|
|
|
|
RUN git clone https://github.com/bitcoin/bitcoin.git
|
|
RUN cd bitcoin && git checkout v22.0
|
|
RUN cd bitcoin && ./autogen.sh && ./configure --without-gui && make -j8
|
|
RUN cd bitcoin && make install
|
|
|
|
FROM python:3.10
|
|
|
|
# Installing BerkleyDB 4.8.30
|
|
# Works on debian Buster as well
|
|
RUN apt remove libdb5.3-dev -y
|
|
RUN wget https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin/+files/libdb4.8++-dev_4.8.30-artful3_amd64.deb && \
|
|
wget https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin/+files/db4.8-util_4.8.30-artful3_amd64.deb && \
|
|
wget https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin/+files/libdb4.8-dbg_4.8.30-artful3_amd64.deb && \
|
|
wget https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin/+files/libdb4.8_4.8.30-artful3_amd64.deb && \
|
|
wget https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin/+files/libdb4.8-dev_4.8.30-artful3_amd64.deb && \
|
|
wget https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin/+files/libdb4.8++_4.8.30-artful3_amd64.deb
|
|
RUN dpkg -i *.deb && rm *.deb
|
|
|
|
RUN apt update && apt install libevent-dev libboost-system-dev libboost-filesystem-dev libboost-chrono-dev \
|
|
libboost-test-dev libboost-thread-dev jq libzmq5-dev -y
|
|
|
|
COPY --from=0 /usr/local/bin/bitcoind /usr/local/bin
|
|
COPY --from=0 /usr/local/bin/bitcoin-cli /usr/local/bin
|
|
|
|
COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin
|
|
|
|
|