mirror of
https://github.com/Retropex/docker-bitcoind.git
synced 2025-05-25 19:42:35 +02:00
Self built attempt
This commit is contained in:
parent
1d29327ea3
commit
b5cbc2c254
4
.github/workflows/dockerarm.yml
vendored
4
.github/workflows/dockerarm.yml
vendored
@ -5,7 +5,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: register qemu(?)
|
- name: Register self-compiled qemu
|
||||||
run: docker run --rm --privileged multiarch/qemu-user-static:register
|
run: docker run --rm --privileged meedamian/simple-qemu-test:minimal --reset -p yes
|
||||||
- name: Build the Docker image
|
- name: Build the Docker image
|
||||||
run: docker build . --file 0.18/source/Dockerfile --tag bitcoind:arm-$(date +%s)
|
run: docker build . --file 0.18/source/Dockerfile --tag bitcoind:arm-$(date +%s)
|
||||||
|
@ -1,14 +1,6 @@
|
|||||||
FROM alpine:3.10 AS downloader
|
|
||||||
|
|
||||||
RUN wget --quiet -O /qemu-arm-static \
|
|
||||||
https://github.com/multiarch/qemu-user-static/releases/download/v4.0.0-2/qemu-arm-static ;\
|
|
||||||
chmod +x /qemu-arm-static
|
|
||||||
|
|
||||||
# Build stage for Bitcoin Core
|
# Build stage for Bitcoin Core
|
||||||
FROM arm32v7/alpine:3.10 AS bitcoin-core
|
FROM arm32v7/alpine:3.10 AS bitcoin-core
|
||||||
|
|
||||||
COPY --from=downloader /qemu-arm-static /usr/bin/qemu-arm-static
|
|
||||||
|
|
||||||
# fetch already built berkeleydb
|
# fetch already built berkeleydb
|
||||||
COPY --from=lncm/berkeleydb:db-4.8.30.NC-linux-arm /opt /opt
|
COPY --from=lncm/berkeleydb:db-4.8.30.NC-linux-arm /opt /opt
|
||||||
|
|
||||||
@ -94,8 +86,6 @@ RUN strip ${BITCOIN_PREFIX}/lib/libbitcoinconsensus.so.0.0.0
|
|||||||
# Build stage for compiled artifacts
|
# Build stage for compiled artifacts
|
||||||
FROM arm32v7/alpine:3.10 AS final
|
FROM arm32v7/alpine:3.10 AS final
|
||||||
|
|
||||||
COPY --from=downloader /qemu-arm-static /usr/bin/qemu-arm-static
|
|
||||||
|
|
||||||
LABEL maintainer.0="nolim1t (@nolim1t)" \
|
LABEL maintainer.0="nolim1t (@nolim1t)" \
|
||||||
maintainer.1="Damian Mee (@meeDamian)"
|
maintainer.1="Damian Mee (@meeDamian)"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user