Commit Graph

13 Commits

Author SHA1 Message Date
Ahmad Farhat 74cb620b1c
Upgrade to Rails 5.2.5 (#2638) 2021-04-06 19:46:16 -04:00
Martin Beckmann 760b80ae9a
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
2021-03-28 12:47:39 -04:00
Jesus Federico 1a625c70ad
GRN2-XX: Updated main script for CI and Dockerfile (#2614)
* GRN2-XX: Updated main script for ci

* patch for Dockerfile

* removed forced installation of mimemagic from Dockerfile
2021-03-25 18:20:34 -04:00
Lars Kiesow c5b00e89aa
Update to Ruby 2.7 (#2292)
* 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>
2021-02-22 18:14:33 -05:00
Ahmad Farhat 42e6e4f235 GRN2-241: Moved assets precompile to start script (#927)
* Moved assets precompile to start script

* Added curl to image for postgres database
2020-02-12 17:49:35 -05:00
Ahmad Farhat 734f7a757e GRN2-241: Switched Docker base image to Alpine (#853)
* Switched to alpine image

* Switch Docker base image to alpine

* Removed uneeded code

* Slimmed it down even further
2020-02-12 17:49:35 -05:00
Jinesh 7c20decafe altered build steps to utilize the cloud build cache (#728) 2019-08-06 14:55:05 -04:00
shawn-higgins1 2c37f87cbc Fix the dockerfile for the new version of rails (#658)
* Fix the dockerfile for the new version of rails

* Update Dockerfile
2019-07-22 14:31:11 -04:00
shawn-higgins1 ccbd46f045 Improve container build: GRN2-156 (#582)
* Cache gems

* Remove debug statement

* Use postgress by default

* Update sample.env
2019-06-26 10:15:53 -04:00
Jesus Federico a0a99b34c2
GRN2-159: Changed the inception of the version tag (#574)
* GRN2-159: Changed the inception of the version tag

* GRN2-159: Restored TRAVIS_BRANCH

* Relocated ARG aNV for version in Dockerfile
2019-06-21 10:15:10 -04:00
Jesus Federico f5c33e9306
GRN2-159: Changed the inception of the version tag (#573) 2019-06-21 09:36:52 -04:00
Joshua Arts e2ad6e7715 make upgrading from 1.0 easier 2018-07-05 17:25:59 -04:00
Josh 78976f3f51 add Dockerfile and docker-compose.yml 2018-06-20 15:24:39 -04:00