diff --git a/Dockerfile b/Dockerfile index d3afaa7a..7c737431 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.9 +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 6352a2f0..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.4 +FROM alpine:3.17 EXPOSE 8080 RUN mkdir /tests