mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 19:35:32 +00:00
Move the f15be37d9bef58a0128bcba006f8abb3ea13e8da version of scripts required for openshift-ci from "kata-containers/tests/.ci/openshift-ci" into "kata-containers/kata-containers/ci/openshift-ci" and required webhook+libs into "kata-containers/kata-containers/tools/testing" as is to simplify verification, the different location handling will be added in following commit. Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
15 lines
340 B
Docker
15 lines
340 B
Docker
# Copyright (c) 2019 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
FROM golang:1.21.5-alpine3.19 AS builder
|
|
|
|
WORKDIR /go/src/kata-pod-annotate
|
|
|
|
COPY . ./
|
|
RUN CGO_ENABLED=0 go build -o /go/bin/kata-pod-annotate
|
|
|
|
FROM alpine:3.19
|
|
COPY --from=builder /go/bin/kata-pod-annotate /kata-pod-annotate
|
|
ENTRYPOINT ["/kata-pod-annotate"]
|
|
|