herald.go/docker/Dockerfile.action

12 lines
315 B
Text
Raw Normal View History

2021-12-07 04:31:03 +01:00
FROM jeffreypicard/hub-github-env
2021-12-07 12:59:58 +01:00
COPY scripts/build_and_test.sh /build_and_test.sh
# COPY . /hub
# WORKDIR /hub
2021-12-07 04:31:03 +01:00
2021-12-07 12:45:18 +01:00
ENV CGO_LDFLAGS "-L/usr/local/lib -lrocksdb -lstdc++ -lm -lz -lsnappy -llz4 -lzstd"
ENV CGO_CFLAGS "-I/usr/local/include/rocksdb"
ENV LD_LIBRARY_PATH /usr/local/lib
2021-12-07 12:59:58 +01:00
ENTRYPOINT ["/build_and_test.sh"]