2020-08-03 10:47:22 -07:00
|
|
|
# syntax=docker/dockerfile:experimental
|
|
|
|
FROM golang:1.14
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
ADD . .
|
|
|
|
|
2020-08-17 09:20:15 -07:00
|
|
|
RUN --mount=type=cache,target=/root/.cache --mount=type=cache,target=/go \
|
|
|
|
go build -mod=readonly -o /guardiand github.com/certusone/wormhole/bridge/cmd/guardiand
|
2020-08-03 10:47:22 -07:00
|
|
|
|
|
|
|
ENTRYPOINT /guardiand
|