github.com/thanos-io/thanos@v0.32.5/Dockerfile (about) 1 # By default we pin to amd64 sha. Use make docker to automatically adjust for arm64 versions. 2 ARG BASE_DOCKER_SHA="14d68ca3d69fceaa6224250c83d81d935c053fb13594c811038c461194599973" 3 FROM quay.io/prometheus/busybox@sha256:${BASE_DOCKER_SHA} 4 LABEL maintainer="The Thanos Authors" 5 6 COPY /thanos_tmp_for_docker /bin/thanos 7 8 RUN adduser \ 9 -D `#Dont assign a password` \ 10 -H `#Dont create home directory` \ 11 -u 1001 `#User id`\ 12 thanos && \ 13 chown thanos /bin/thanos 14 USER 1001 15 ENTRYPOINT [ "/bin/thanos" ]