github.com/muhammadn/cortex@v1.9.1-0.20220510110439-46bb7000d03d/packaging/fpm/Dockerfile (about) 1 FROM alpine:3.8 2 3 RUN apk add --no-cache \ 4 ruby \ 5 ruby-dev \ 6 ruby-etc \ 7 gcc \ 8 git \ 9 libc-dev \ 10 libffi-dev \ 11 make \ 12 rpm \ 13 tar \ 14 && gem install --no-ri --no-rdoc fpm 15 16 COPY package.sh / 17 ENTRYPOINT ["/package.sh"] 18 19 ARG revision 20 LABEL org.opencontainers.image.title="fpm" \ 21 # TODO: should this label point to the fpm source code? 22 org.opencontainers.image.source="https://github.com/cortexproject/cortex/tree/master/packaging/fpm" \ 23 org.opencontainers.image.revision="${revision}"