rvault/go_client/Containerfile
sam a6de2133fd + update testdata
+ implement get_meta
- refactor structs a bit
2024-06-02 00:58:28 -07:00

17 lines
291 B
Docker

FROM docker.io/library/golang:1.22-alpine3.19 AS builder
WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download
COPY . .
# RUN go build -o /app
RUN go build
# CMD export GOCACHE=off
CMD go test tests/*
# FROM docker.io/library/alpine:3.19
# COPY --from=builder /app /app
# CMD ["/app"]