add i18n sorting dependencies to docker

fixes CNVS-35005

Test Plan

1. run:  docker-compose build
2. run: docker-compose run --rm web bundle exec rake db:migrate:redo VERSION=20120502190901
3. Visit: /accounts/1/users
4. Create users with the names: Jalapeno, Jalapeoo, Jalapeño, JalapeЖo
5. Refresh the page and verify they are sorted:
   Jalapeno, Jalapeño, Jalapeoo, JalapeЖo
6. Create an assignment
7. Give each of the students created above a grade
8. Visit: /courses/1/gradebook/history
9. Click on the assignment name to display the hidden table.
10. Verify the table of students / grades is sorted:
    Jalapeno, Jalapeño, Jalapeoo, JalapeЖo

Change-Id: I9743c559a20a3d50600bcbc7e4a310105ec638cf
Reviewed-on: https://gerrit.instructure.com/102465
Tested-by: Jenkins
Reviewed-by: Neil Gupta <ngupta@instructure.com>
QA-Review: Anju Reddy <areddy@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>
This commit is contained in:
Sheldon Leibole 2017-02-16 12:26:54 -08:00 committed by Keith T. Garner
parent 1a64ef0d4c
commit e60af33613
3 changed files with 14 additions and 1 deletions

View File

@ -16,6 +16,7 @@ RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -\
unzip \ unzip \
fontforge \ fontforge \
python-lxml \ python-lxml \
libicu-dev \
&& npm install -g gulp \ && npm install -g gulp \
&& rm -rf /var/lib/apt/lists/*\ && rm -rf /var/lib/apt/lists/*\
&& mkdir -p /home/docker/.gem/ruby/$RUBY_MAJOR.0 && mkdir -p /home/docker/.gem/ruby/$RUBY_MAJOR.0

View File

@ -13,7 +13,7 @@ services:
command: bundle exec script/delayed_job run command: bundle exec script/delayed_job run
postgres: postgres:
image: postgres:9.3 build: ./docker-compose/postgres
redis: redis:
image: redis:2.6 image: redis:2.6

View File

@ -0,0 +1,12 @@
FROM postgres:9.3
# Install dependencies for postgres extension for I18n sorting
RUN apt-get update -qq \
&& apt-get install -qqy \
build-essential \
libicu-dev \
postgresql-server-dev-all \
pgxnclient \
&& rm -rf /var/lib/apt/lists/*
# Install postgres extension for I8n sorting
RUN pgxnclient install pg_collkey