golang.org/x/build@v0.0.0-20240506185731-218518f32b70/cmd/relui/Dockerfile.test (about)

     1  # Copyright 2021 The Go Authors. All rights reserved.
     2  # Use of this source code is governed by a BSD-style
     3  # license that can be found in the LICENSE file.
     4  
     5  FROM golang:1.20 AS build
     6  
     7  COPY go.mod /app/go.mod
     8  COPY go.sum /app/go.sum
     9  
    10  WORKDIR /app
    11  
    12  RUN go mod download
    13  
    14  COPY . /app
    15  
    16  RUN go build golang.org/x/build/cmd/relui
    17  
    18  ENTRYPOINT go test -v ./cmd/relui/... ./internal/relui/... ./internal/workflow/...