mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-06 03:56:34 +00:00
tools: kata-monitor: update go version used to build in Dockerfile
Current Dockerfile fails when trying to build from the root of the repo docker build -t kata-monitor -f tools/packaging/kata-monitor/Dockerfile . with "invalid go version '1.23.0': must match format 1.23" Using go 1.23 in the Dockerfile fixes the build error Signed-off-by: Saul Paredes <saulparedes@microsoft.com>
This commit is contained in:
parent
9ff30c6aeb
commit
d53c720ac1
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2020 Eric Ernst
|
# Copyright (c) 2020 Eric Ernst
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
FROM golang:1.19-alpine AS builder
|
FROM golang:1.23-alpine AS builder
|
||||||
|
|
||||||
RUN apk add --no-cache bash curl git make build-base
|
RUN apk add --no-cache bash curl git make build-base
|
||||||
WORKDIR /go/src/github.com/kata-containers/kata-containers/src/runtime
|
WORKDIR /go/src/github.com/kata-containers/kata-containers/src/runtime
|
||||||
|
Loading…
Reference in New Issue
Block a user