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"]