* Fix permission denied bug
Fixing this issue:
ERROR: for greenlight-v2 Cannot start service app: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "bin/start": permission denied: unknown
* fix persian sentence
this issue appear in fa_IR locale
* Remove unnecessary change user in Dockerfile
I removed USER root and result was the same
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
--> 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
* Update to Ruby 2.7
The currently used Ruby 2.5 is pretty old and is nearing its end of
life [1]. This patch updates the used Ruby version to the current
stable version.
[1] https://www.ruby-lang.org/en/downloads/branches/
* Update .ruby-version to 2.7.2
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>