Compare commits
No commits in common. "8cbc83879088f6b11e1fec30f703073dbf2700b8" and "6a55cd5d8bb4ab26d88104423288a3ea5eb69d7e" have entirely different histories.
8cbc838790
...
6a55cd5d8b
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
ARG BASE_IMAGE=sutty/sdk
|
||||
ARG BASE_IMAGE=sutty/sdk-ruby
|
||||
ARG ALPINE_VERSION=3.13.6
|
||||
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
|
||||
MAINTAINER "f <f@sutty.nl>"
|
||||
|
@ -8,6 +8,10 @@ RUN apk add --no-cache ruby-dev ruby-bundler ruby-json ruby-bigdecimal ruby-rake
|
|||
RUN apk add --no-cache postgresql-dev sqlite-dev mariadb-dev
|
||||
RUN apk add --no-cache linux-headers
|
||||
|
||||
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
|
||||
|
||||
# https://github.com/rubygems/rubygems/issues/2918
|
||||
# https://gitlab.alpinelinux.org/alpine/aports/issues/10808
|
||||
COPY ./rubygems-platform-musl.patch /tmp/
|
||||
|
|
Loading…
Reference in a new issue