Something went wrong. Try again.
NETCONF implementation in Go.
Something went wrong. Try again.
1234567891011121314151617181920212223ARG GO_VER=1.24
FROM golang:${GO_VER} as baseWORKDIR /srcCOPY go.mod go.sum /src/RUN --mount=type=cache,target=/go/pkg/mod \ go mod download -x
FROM base AS inttestRUN apt update && apt install -y \ openssh-client \ sshpass \ libxml-xpath-perlRUN --mount=target=/src \ --mount=type=cache,target=/go/pkg/mod \ --mount=type=cache,target=/root/.cache/go-build \ mkdir /out && \ cd inttest && \ go test --tags=inttest -c -o /out/inttest.testWORKDIR /outCOPY inttest/wait-for-hello.sh .CMD ./inttest.test -test.v -test.race