This commit is contained in:
f 2019-09-10 20:24:08 -03:00
parent a2e27c5316
commit d34c710c24
No known key found for this signature in database
GPG Key ID: 2AE5A13E321F953D
1 changed files with 14 additions and 1 deletions

View File

@ -1,2 +1,15 @@
FROM sutty/monit:latest
FROM sutty/sdk:latest
MAINTAINER "f <f@sutty.nl>"
ENV VERSION 2.5.5
RUN apk add --no-cache git nodejs nodejs-npm yarn tzdata libxslt-dev libxml2-dev
RUN apk add --no-cache ruby-dev ruby-bundler ruby-json ruby-bigdecimal ruby-rake ruby-etc
RUN apk add --no-cache postgresql-dev sqlite-dev mariadb-dev
RUN apk add --no-cache linux-headers cmake
RUN test "$VERSION" = `ruby -e 'puts RUBY_VERSION'`
RUN addgroup -g 82 -S www-data
RUN adduser -s /bin/sh -G www-data -h /home/app -D app
RUN install -dm 2750 -o app -g www-data /home/app/sutty
ENTRYPOINT /bin/sh