[docker] Install less (#5677)

I was unable to fully use pry using the docker version of dev.to.
For instance while trying to examine certain variables or trying to use
`caller` to checkout the backtrace, I would run into the a `multi-call binary error` with
`BusyBox`.

On looking up this error, discovered https://github.com/pry/pry/issues/1248 which also
had the fix which was simply to install less for the docker image.

Verified locally that pry's full functionality works.
This commit is contained in:
Asha Balasubramaniam 2020-01-23 16:38:08 -05:00 committed by Mac Siri
parent 0a59e3ea59
commit 43bf0f8fa6

View file

@ -6,7 +6,7 @@ FROM ruby:2.6.5-alpine3.10
#
#------------------------------------------------------------------------------
RUN apk update -qq && apk add git nodejs postgresql-client ruby-dev build-base \
libxml2-dev libxslt-dev pcre-dev libffi-dev postgresql-dev tzdata imagemagick
less libxml2-dev libxslt-dev pcre-dev libffi-dev postgresql-dev tzdata imagemagick
#------------------------------------------------------------------------------
#