discourse update: default to getting ruby version from file again
This commit is contained in:
parent
d996fd4102
commit
5c3ff4a938
@ -18,8 +18,10 @@ services="sidekiq discourse"
|
|||||||
patch=$HOME/latest.patch
|
patch=$HOME/latest.patch
|
||||||
# not clear why this is a samplefile
|
# not clear why this is a samplefile
|
||||||
# they seem to do this by hand on the docker repo
|
# they seem to do this by hand on the docker repo
|
||||||
#rubyver=$(< $basedir/.ruby-version.sample)
|
rubyver=$(< $basedir/.ruby-version.sample)
|
||||||
rubyver=$(curl -s https://raw.githubusercontent.com/discourse/discourse_docker/main/image/base/slim.Dockerfile | grep -oP '(?<=RUBY_VERSION=)[0-9]+\.[0-9]+\.[0-9]+')
|
# commenting this because we assume that upstream docker
|
||||||
|
# uses newer ruby because they don't seem to use release
|
||||||
|
#rubyver=$(curl -s https://raw.githubusercontent.com/discourse/discourse_docker/main/image/base/slim.Dockerfile | grep -oP '(?<=RUBY_VERSION=)[0-9]+\.[0-9]+\.[0-9]+')
|
||||||
nodever=$(curl -s https://raw.githubusercontent.com/discourse/discourse_docker/main/image/base/slim.Dockerfile | grep -oP '(?<=nodesource.com/setup_)[0-9]+[0-9]')
|
nodever=$(curl -s https://raw.githubusercontent.com/discourse/discourse_docker/main/image/base/slim.Dockerfile | grep -oP '(?<=nodesource.com/setup_)[0-9]+[0-9]')
|
||||||
|
|
||||||
cd $basedir
|
cd $basedir
|
||||||
|
Loading…
Reference in New Issue
Block a user