herald.go/docker/Dockerfile.action
Jeffrey Picard 3a53f46114
Updates for build (#50)
* Updates for build

* go 1.18.1 in dockerfile

* use go 1.18.5

* trying this ...

* asdf
2022-08-16 14:52:26 +03:00

11 lines
319 B
Text

FROM jeffreypicard/hub-github-env:dev
COPY scripts/build_and_test.sh /build_and_test.sh
# COPY . /hub
# WORKDIR /hub
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
ENTRYPOINT ["/build_and_test.sh"]