mirror of
https://github.com/kairos-io/tpm-helpers.git
synced 2025-08-01 14:09:09 +00:00
15 lines
354 B
Plaintext
15 lines
354 B
Plaintext
VERSION 0.6
|
|
FROM alpine
|
|
|
|
test:
|
|
FROM opensuse/tumbleweed
|
|
RUN zypper in -y go openssl-devel
|
|
WORKDIR /build
|
|
ENV GOPATH=/go
|
|
# Cache layer for modules
|
|
COPY go.mod go.sum ./
|
|
RUN go mod download && go mod verify
|
|
RUN go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo
|
|
COPY . .
|
|
RUN PATH=$PATH:$GOPATH/bin ginkgo -v ./...
|