lotus/docker-images/Dockerfile.oni-buildbase

15 lines
474 B
Docker
Raw Normal View History

ARG GO_VERSION=1.14.2
FROM golang:${GO_VERSION}-buster
2020-06-25 13:36:30 +00:00
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
2020-07-03 18:11:14 +00:00
ARG FILECOIN_FFI_COMMIT=6a143e06f923f3a4f544c7a652e8b4df420a3d28
ARG FFI_DIR=/extra/filecoin-ffi
RUN mkdir -p ${FFI_DIR} \
&& git clone https://github.com/filecoin-project/filecoin-ffi.git ${FFI_DIR} \
&& cd ${FFI_DIR} \
&& git checkout ${FILECOIN_FFI_COMMIT} \
&& make