FROM alpine:3.20 LABEL org.opencontainers.image.authors="FairwindsOps, Inc." \ org.opencontainers.image.vendor="FairwindsOps, Inc." \ org.opencontainers.image.title="goldilocks" \ org.opencontainers.image.description="Goldilocks is a utility that can help you identify a starting point for resource requests and limits." \ org.opencontainers.image.documentation="https://goldilocks.docs.fairwinds.com/" \ org.opencontainers.image.source="https://github.com/FairwindsOps/goldilocks" \ org.opencontainers.image.url="https://github.com/FairwindsOps/goldilocks" \ org.opencontainers.image.licenses="Apache License 2.0" # Copy static assets and templates before switching user COPY pkg/dashboard/templates /templates COPY pkg/dashboard/assets /static # 'nobody' user in alpine USER 65534 COPY goldilocks / CMD ["/goldilocks"]