update base image with latest filecoin-ffi
This commit is contained in:
parent
c543a10ce7
commit
86af05ba6f
@ -6,15 +6,15 @@ download-proofs:
|
|||||||
go run github.com/filecoin-project/go-paramfetch/paramfetch 2048 ./docker-images/proof-parameters.json
|
go run github.com/filecoin-project/go-paramfetch/paramfetch 2048 ./docker-images/proof-parameters.json
|
||||||
|
|
||||||
build-images:
|
build-images:
|
||||||
docker build -t "iptestground/oni-buildbase:v11-lotus" -f "docker-images/Dockerfile.oni-buildbase" "docker-images"
|
docker build -t "iptestground/oni-buildbase:v12-lotus" -f "docker-images/Dockerfile.oni-buildbase" "docker-images"
|
||||||
docker build -t "iptestground/oni-runtime:v5" -f "docker-images/Dockerfile.oni-runtime" "docker-images"
|
docker build -t "iptestground/oni-runtime:v6" -f "docker-images/Dockerfile.oni-runtime" "docker-images"
|
||||||
|
|
||||||
push-images:
|
push-images:
|
||||||
docker push iptestground/oni-buildbase:v11-lotus
|
docker push iptestground/oni-buildbase:v12-lotus
|
||||||
docker push iptestground/oni-runtime:v5
|
docker push iptestground/oni-runtime:v6
|
||||||
|
|
||||||
pull-images:
|
pull-images:
|
||||||
docker pull iptestground/oni-buildbase:v11-lotus
|
docker pull iptestground/oni-buildbase:v12-lotus
|
||||||
docker pull iptestground/oni-runtime:v5
|
docker pull iptestground/oni-runtime:v6
|
||||||
|
|
||||||
.PHONY: download-proofs build-images push-images pull-images
|
.PHONY: download-proofs build-images push-images pull-images
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
ARG GO_VERSION=1.14.2
|
ARG GO_VERSION=1.15.5
|
||||||
|
|
||||||
FROM golang:${GO_VERSION}-buster
|
FROM golang:${GO_VERSION}-buster
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y ca-certificates llvm clang mesa-opencl-icd ocl-icd-opencl-dev jq gcc git pkg-config bzr libhwloc-dev
|
RUN apt-get update && apt-get install -y ca-certificates llvm clang mesa-opencl-icd ocl-icd-opencl-dev jq gcc git pkg-config bzr libhwloc-dev
|
||||||
|
|
||||||
ARG FILECOIN_FFI_COMMIT=1985275547f222e8c97a8ab70b5cc26bc1fa50b1
|
ARG FILECOIN_FFI_COMMIT=1d9cb3e8ff53f51f9318fc57e5d00bc79bdc0128
|
||||||
ARG FFI_DIR=/extern/filecoin-ffi
|
ARG FFI_DIR=/extern/filecoin-ffi
|
||||||
|
|
||||||
ARG BLST_COMMIT=1cbb16ed9580dcd3e9593b71221fcf2a048faaef
|
ARG BLST_COMMIT=1cbb16ed9580dcd3e9593b71221fcf2a048faaef
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
ARG GO_VERSION=1.14.2
|
ARG GO_VERSION=1.15.5
|
||||||
|
|
||||||
FROM golang:${GO_VERSION}-buster as downloader
|
FROM golang:${GO_VERSION}-buster as downloader
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
ARG GO_VERSION=1.14.2
|
ARG GO_VERSION=1.15.5
|
||||||
|
|
||||||
FROM golang:${GO_VERSION}-buster as downloader
|
FROM golang:${GO_VERSION}-buster as downloader
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ RUN go get github.com/filecoin-project/go-paramfetch/paramfetch
|
|||||||
COPY /proof-parameters.json /
|
COPY /proof-parameters.json /
|
||||||
RUN paramfetch 2048 /proof-parameters.json
|
RUN paramfetch 2048 /proof-parameters.json
|
||||||
|
|
||||||
ARG LOTUS_COMMIT=1a170e18a
|
ARG LOTUS_COMMIT=25070314c
|
||||||
|
|
||||||
## for debug purposes
|
## for debug purposes
|
||||||
RUN apt update && apt install -y mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config curl && git clone https://github.com/filecoin-project/lotus.git && cd lotus/ && git checkout ${LOTUS_COMMIT} && make clean && make all && make install
|
RUN apt update && apt install -y mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config curl && git clone https://github.com/filecoin-project/lotus.git && cd lotus/ && git checkout ${LOTUS_COMMIT} && make clean && make all && make install
|
||||||
|
@ -9,8 +9,8 @@ enabled = true
|
|||||||
|
|
||||||
[builders."docker:go"]
|
[builders."docker:go"]
|
||||||
enabled = true
|
enabled = true
|
||||||
build_base_image = "iptestground/oni-buildbase:v11-lotus"
|
build_base_image = "iptestground/oni-buildbase:v12-lotus"
|
||||||
runtime_image = "iptestground/oni-runtime:v5"
|
runtime_image = "iptestground/oni-runtime:v6"
|
||||||
|
|
||||||
[runners."local:exec"]
|
[runners."local:exec"]
|
||||||
enabled = true
|
enabled = true
|
||||||
|
Loading…
Reference in New Issue
Block a user