make fpm the command, not the entrypoint, to make it easier to use from CI tools

This commit is contained in:
Chris R 2017-10-25 12:40:45 +01:00
parent ecb9c7447e
commit 9971f2a29d
13 changed files with 17 additions and 65 deletions

View file

@ -1,9 +1,5 @@
FROM ubuntu:14.04
ENV TINI_VERSION v0.10.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
ENV DEBIAN_FRONTEND noninteractive
RUN set -x \
@ -19,4 +15,4 @@ RUN set -x \
WORKDIR /src/
ENTRYPOINT ["/tini", "-g", "--", "/usr/local/bin/fpm"]
CMD /usr/local/bin/fpm

View file

@ -1,9 +1,5 @@
FROM ubuntu:16.04
ENV TINI_VERSION v0.10.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
ENV DEBIAN_FRONTEND noninteractive
RUN set -x \
@ -20,4 +16,4 @@ RUN set -x \
WORKDIR /src/
ENTRYPOINT ["/tini", "-g", "--", "/usr/local/bin/fpm"]
CMD /usr/local/bin/fpm