From e8fbd8f2b886f3a3caee160d834c2c1fa10c4833 Mon Sep 17 00:00:00 2001 From: jumpojoy Date: Thu, 9 Nov 2023 21:17:16 +0200 Subject: [PATCH] Fix Dockerfile.dev (#632) Update the Go version and path to the test file. --- Dockerfile.dev | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.dev b/Dockerfile.dev index 5328c50cf6d..65351153418 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,7 +1,7 @@ # Dockerfile for quick development and testing # To build: # docker build -t cloudprober:test . -f Dockerfile.dev -FROM golang:1.18-alpine as build +FROM golang:1.21-alpine as build WORKDIR /app COPY . / @@ -9,5 +9,5 @@ RUN if [[ ! -f /cloudprober ]]; then go build -o /cloudprober /cmd/cloudprober.g FROM alpine COPY --from=build /cloudprober /cloudprober -COPY cloudprober_test.cfg /etc/cloudprober.cfg +COPY cmd/cloudprober_test.cfg /etc/cloudprober.cfg ENTRYPOINT ["/cloudprober"]