mirror of
https://github.com/gunchev/docker-fpm.git
synced 2025-11-20 12:15:50 +00:00
make fpm the command, not the entrypoint, to make it easier to use from CI tools
This commit is contained in:
parent
ecb9c7447e
commit
9971f2a29d
13 changed files with 17 additions and 65 deletions
|
|
@ -1,9 +1,5 @@
|
|||
FROM centos:5
|
||||
|
||||
ENV TINI_VERSION v0.10.0
|
||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
|
||||
RUN chmod +x /tini
|
||||
|
||||
RUN set -x \
|
||||
&& yum install -y ruby-devel rubygems gcc make rpmdevtools \
|
||||
&& gem install json -v 1.8.3 \
|
||||
|
|
@ -13,4 +9,4 @@ RUN set -x \
|
|||
|
||||
WORKDIR /src/
|
||||
|
||||
ENTRYPOINT ["/tini", "-g", "--", "/usr/local/bin/fpm"]
|
||||
CMD /usr/local/bin/fpm
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
FROM centos:6
|
||||
|
||||
ENV TINI_VERSION v0.10.0
|
||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
|
||||
RUN chmod +x /tini
|
||||
|
||||
RUN set -x \
|
||||
&& yum install -y ruby-devel rubygems gcc make rpmdevtools \
|
||||
&& gem install json -v 1.8.3 \
|
||||
|
|
@ -13,4 +9,4 @@ RUN set -x \
|
|||
|
||||
WORKDIR /src/
|
||||
|
||||
ENTRYPOINT ["/tini", "-g", "--", "/usr/bin/fpm"]
|
||||
CMD /usr/bin/fpm
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
FROM centos:7
|
||||
|
||||
ENV TINI_VERSION v0.10.0
|
||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
|
||||
RUN chmod +x /tini
|
||||
|
||||
RUN set -x \
|
||||
&& yum install -y ruby-devel rubygems gcc make rpmdevtools \
|
||||
&& gem install fpm \
|
||||
|
|
@ -12,4 +8,4 @@ RUN set -x \
|
|||
|
||||
WORKDIR /src/
|
||||
|
||||
ENTRYPOINT ["/tini", "-g", "--", "/usr/local/bin/fpm"]
|
||||
CMD /usr/local/bin/fpm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue