Files
go-libp2p/test-plans/PingDockerfile
Marco Munizaga 638329ddb6 CI: Fast multidimensional Interop tests (#1991)
* Test interop on changes

* Add pull request event

* Nits

* Rm un-needed default

* Use build tag

* Point to master for interop-test

* Point to master for interop-test

* Go mod tidy
2023-01-13 13:50:44 -08:00

17 lines
342 B
Plaintext

# syntax=docker/dockerfile:1
# This is run from the parent directory to copy the whole go-libp2p codebase
FROM golang:1.19-alpine AS builder
WORKDIR /app/
COPY ./ .
WORKDIR /app/test-plans
RUN go mod download
RUN go build -o /testplan ./cmd/ping
FROM alpine
WORKDIR /app
COPY --from=builder /testplan /testplan
ENTRYPOINT [ "/testplan"]