mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 20:08:54 +00:00
The kata-monitor's Dockerfile was added by Eric Ernst on commit 2f1cb7995f
but for some reason the static checker did not catch the file misses the copyright statement
at the time it was added. But it is now complaining about it. So this assign the copyright to
him to make the static-checker happy.
Fixes #3329
Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
15 lines
506 B
Docker
15 lines
506 B
Docker
# Copyright (c) 2020 Eric Ernst
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
FROM golang:1.15-alpine AS builder
|
|
|
|
RUN apk add --no-cache bash curl git make
|
|
WORKDIR /go/src/github.com/kata-containers/kata-containers/src/runtime
|
|
COPY . /go/src/github.com/kata-containers/kata-containers
|
|
RUN SKIP_GO_VERSION_CHECK=true make monitor
|
|
|
|
FROM alpine:3.14
|
|
COPY --from=builder /go/src/github.com/kata-containers/kata-containers/src/runtime/kata-monitor /usr/bin/kata-monitor
|
|
CMD ["-h"]
|
|
ENTRYPOINT ["/usr/bin/kata-monitor"]
|