diff --git a/Dockerfile b/Dockerfile index a863a769..9b855e93 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /go/src/github.com/mendersoftware/inventory ADD ./ . RUN CGO_ENABLED=0 GOARCH=amd64 go build -o inventory . -FROM alpine:3.12 +FROM alpine:3.17 EXPOSE 8080 RUN mkdir /etc/inventory ENTRYPOINT ["/usr/bin/inventory", "--config", "/etc/inventory/config.yaml"] diff --git a/Dockerfile.acceptance-testing b/Dockerfile.acceptance-testing index 1427f888..e42ae740 100644 --- a/Dockerfile.acceptance-testing +++ b/Dockerfile.acceptance-testing @@ -4,7 +4,7 @@ COPY . /go/src/github.com/mendersoftware/inventory RUN cd /go/src/github.com/mendersoftware/inventory && \ env CGO_ENABLED=0 go test -c -o inventory-test -coverpkg $(go list ./... | grep -v vendor | grep -v mocks | grep -v test | tr '\n' ,) -FROM alpine:3.12 +FROM alpine:3.17 EXPOSE 8080 RUN mkdir /tests