Browse Source

arm attemp #1

master
Damian Mee 5 years ago
parent
commit
754c660ff4
No known key found for this signature in database GPG Key ID: 2F961EAB8789725D
  1. 9
      .github/workflows/dockerarm.yml
  2. 5
      .github/workflows/dockerimage.yml
  3. 6
      0.18/source/Dockerfile

9
.github/workflows/dockerarm.yml

@ -0,0 +1,9 @@
name: Build bitcoind on arm
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build the Docker image
run: docker build . --file 0.18/source/Dockerfile --tag bitcoind:arm-$(date +%s)

5
.github/workflows/dockerimage.yml

@ -1,13 +1,8 @@
name: Build bitcoind on amd64 name: Build bitcoind on amd64
on: [push] on: [push]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
- name: Build the Docker image - name: Build the Docker image

6
0.18/source/Dockerfile

@ -1,8 +1,8 @@
# Build stage for Bitcoin Core # Build stage for Bitcoin Core
FROM alpine:3.9 AS bitcoin-core FROM arm32v7/alpine:3.10 AS bitcoin-core
# fetch already built berkeleydb # fetch already built berkeleydb
COPY --from=lncm/berkeleydb:db-4.8.30.NC /opt /opt COPY --from=lncm/berkeleydb:db-4.8.30.NC-linux-arm /opt /opt
# Use APK repos over HTTPS. See: https://github.com/gliderlabs/docker-alpine/issues/184 # Use APK repos over HTTPS. See: https://github.com/gliderlabs/docker-alpine/issues/184
RUN sed -i 's/http\:\/\/dl-cdn.alpinelinux.org/https\:\/\/alpine.global.ssl.fastly.net/g' /etc/apk/repositories RUN sed -i 's/http\:\/\/dl-cdn.alpinelinux.org/https\:\/\/alpine.global.ssl.fastly.net/g' /etc/apk/repositories
@ -84,7 +84,7 @@ RUN strip ${BITCOIN_PREFIX}/lib/libbitcoinconsensus.so.0.0.0
# Build stage for compiled artifacts # Build stage for compiled artifacts
FROM alpine:3.9 AS final FROM arm32v7/alpine:3.10 AS final
LABEL maintainer.0="nolim1t (@nolim1t)" \ LABEL maintainer.0="nolim1t (@nolim1t)" \
maintainer.1="Damian Mee (@meeDamian)" maintainer.1="Damian Mee (@meeDamian)"

Loading…
Cancel
Save