Update Dockerfile (#2620)

--> 1a625c70ad (r48758847)

---

 mantridereso yesterday

I think it's necessary to add 'shared-mime-info' package at this position as well:

`
############### Build step done ###############

FROM ruby:2.7.2-alpine
Set a variable for the install location.

ARG RAILS_ROOT=/usr/src/app
ARG PACKAGES="tzdata curl postgresql-client sqlite-libs yarn nodejs bash shared-mime-info"

ENV RAILS_ENV=production
ENV BUNDLE_APP_CONFIG="$RAILS_ROOT/.bundle"
`
Otherwise presentation preupload fails, as /usr/share/mime/packages/freedesktop.org.xml isn't available in container.
@jfederico
jfederico yesterday Author Member

Yeah, that is right. The gem is passed but the dependency is still required
This commit is contained in:
Martin Beckmann 2021-03-28 18:47:39 +02:00 committed by GitHub
parent 81231caef5
commit 760b80ae9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ FROM ruby:2.7.2-alpine
# Set a variable for the install location.
ARG RAILS_ROOT=/usr/src/app
ARG PACKAGES="tzdata curl postgresql-client sqlite-libs yarn nodejs bash"
ARG PACKAGES="tzdata curl postgresql-client sqlite-libs yarn nodejs bash shared-mime-info"
ENV RAILS_ENV=production
ENV BUNDLE_APP_CONFIG="$RAILS_ROOT/.bundle"