more testing

This commit is contained in:
CatDeployed 2018-07-24 01:29:49 -04:00
parent 18fc28f2c5
commit a4cbf5c82e

View File

@ -1,6 +1,6 @@
FROM ruby:2.4-alpine
FROM ruby:2.5-alpine
RUN apk --no-cache add nodejs mariadb-client git bash python2 libcap py-setuptools py-pip build-base python-dev mariadb-dev tzdata \
RUN apk --no-cache add nodejs mariadb-client git bash python2 libcap py-setuptools py-pip build-base python-dev mariadb-dev tzdata mariadb-client-libs \
&& pip install j2cli \
&& git clone https://github.com/atech/postal.git /opt/postal \
&& rm -rf /var/lib/apt/lists/* \
@ -11,7 +11,7 @@ RUN apk --no-cache add nodejs mariadb-client git bash python2 libcap py-setuptoo
&& adduser -S -G postal -h /opt/postal -s /bin/bash postal \
&& chown -R postal:postal /opt/postal/ \
&& /opt/postal/bin/postal bundle /opt/postal/vendor/bundle \
&& apk del mariadb-dev git \
&& apk del git mariadb-dev \
&& rm -rf /var/cache/apk/*
## Adjust permissions