diff --git a/docker/build/Dockerfile b/docker/build/Dockerfile index c398038f..0440e52f 100644 --- a/docker/build/Dockerfile +++ b/docker/build/Dockerfile @@ -14,5 +14,6 @@ WORKDIR /myapp COPY Gemfile /myapp/Gemfile COPY Gemfile.lock /myapp/Gemfile.lock RUN bundle install +ENV NODE_ICU_DATA=/usr/lib/node_modules/icu4c-data CMD rake -T diff --git a/docker/debug/Dockerfile b/docker/debug/Dockerfile index 9eec71ac..e9c3469c 100644 --- a/docker/debug/Dockerfile +++ b/docker/debug/Dockerfile @@ -26,4 +26,5 @@ RUN chown -R $USER /usr/local/bundle RUN chgrp -R $USER /usr/local/bundle USER $USER EXPOSE 5000 +ENV NODE_ICU_DATA=/usr/lib/node_modules/icu4c-data CMD foreman start diff --git a/script/build/debian/node.sh b/script/build/debian/node.sh index 29c45c06..c013317a 100755 --- a/script/build/debian/node.sh +++ b/script/build/debian/node.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -e - -curl -sL https://deb.nodesource.com/setup_9.x | bash - +curl -sL https://deb.nodesource.com/setup_10.x | bash - apt-get update -qq && apt-get install -y nodejs -npm install npm@^6 -g \ No newline at end of file +npm install npm@^6 -g +npm install -g icu4c-data@64l \ No newline at end of file