mirror of
https://github.com/gunchev/docker-fpm.git
synced 2025-11-20 12:15:50 +00:00
ubuntu dockerfiles
This commit is contained in:
parent
cd8a0ce7d6
commit
cba56a6423
2 changed files with 44 additions and 0 deletions
22
ubuntu/14.04/Dockerfile
Normal file
22
ubuntu/14.04/Dockerfile
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
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 \
|
||||
&& apt-get update && apt-get install -y --no-install-recommends \
|
||||
ruby \
|
||||
ruby-dev \
|
||||
gcc \
|
||||
make \
|
||||
ca-certificates \
|
||||
libffi-dev \
|
||||
&& gem install fpm \
|
||||
&& mkdir /src/
|
||||
|
||||
WORKDIR /src/
|
||||
|
||||
ENTRYPOINT ["/tini", "-g", "--", "/usr/local/bin/fpm"]
|
||||
22
ubuntu/16.04/Dockerfile
Normal file
22
ubuntu/16.04/Dockerfile
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
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 \
|
||||
&& apt-get update && apt-get install -y --no-install-recommends \
|
||||
ruby \
|
||||
ruby-dev \
|
||||
gcc \
|
||||
make \
|
||||
ca-certificates \
|
||||
libffi-dev \
|
||||
&& gem install fpm \
|
||||
&& mkdir /src/
|
||||
|
||||
WORKDIR /src/
|
||||
|
||||
ENTRYPOINT ["/tini", "-g", "--", "/usr/local/bin/fpm"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue