Skip to content
Snippets Groups Projects
Select Git revision
20 results

Dockerfile

  • Martin Beckmann's avatar
    760b80ae
    Update Dockerfile (#2620) · 760b80ae
    Martin Beckmann authored
    --> https://github.com/bigbluebutton/greenlight/commit/1a625c70ade7a6bb4b7c73067fd3a1e6c6a281d9#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
    760b80ae
    History
    Update Dockerfile (#2620)
    Martin Beckmann authored
    --> https://github.com/bigbluebutton/greenlight/commit/1a625c70ade7a6bb4b7c73067fd3a1e6c6a281d9#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