diff --git a/deployment/docker/Makefile b/deployment/docker/Makefile index fc4a3144df..082dcb1e15 100644 --- a/deployment/docker/Makefile +++ b/deployment/docker/Makefile @@ -2,7 +2,7 @@ DOCKER_NAMESPACE := docker.io/victoriametrics BUILDER_IMAGE := local/builder:go1.14.1 -BASE_IMAGE := local/base:1.0.0 +BASE_IMAGE := local/base:1.1.0 package-base: (docker image ls --format '{{.Repository}}:{{.Tag}}' | grep -q '$(BASE_IMAGE)$$') \ diff --git a/deployment/docker/base/Dockerfile b/deployment/docker/base/Dockerfile index d067ddddc3..d002cf432d 100644 --- a/deployment/docker/base/Dockerfile +++ b/deployment/docker/base/Dockerfile @@ -3,14 +3,6 @@ FROM alpine:3.10 as base RUN apk --update --no-cache add ca-certificates -RUN mkdir /future-tmp - FROM scratch -COPY --chown=0:0 ./passwd ./group /etc/ -USER 1000 - -COPY --from=base --chown=1000:1000 /future-tmp /tmp -COPY --from=base --chown=1000:1000 /future-tmp /vmstorage-data - -COPY --from=base --chown=1000:1000 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt +COPY --from=base /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt