arm attemp #1

This commit is contained in:
Damian Mee 2019-08-15 06:24:59 +07:00
parent 2a84122a23
commit 754c660ff4
No known key found for this signature in database
GPG Key ID: 2F961EAB8789725D
3 changed files with 12 additions and 8 deletions

9
.github/workflows/dockerarm.yml vendored Normal file
View File

@ -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)

View File

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

View File

@ -1,8 +1,8 @@
# Build stage for Bitcoin Core
FROM alpine:3.9 AS bitcoin-core
FROM arm32v7/alpine:3.10 AS bitcoin-core
# 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
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
FROM alpine:3.9 AS final
FROM arm32v7/alpine:3.10 AS final
LABEL maintainer.0="nolim1t (@nolim1t)" \
maintainer.1="Damian Mee (@meeDamian)"