Skip to content

Commit

Permalink
Merge pull request #741 from 3scale/fix/scl-node8
Browse files Browse the repository at this point in the history
[docker] using node 8
  • Loading branch information
didierofrivia committed Apr 1, 2019
2 parents 2237afd + ef9f13f commit 5c1f243
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions openshift/system/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ ARG BUNDLER_ENV
ENV BUNDLER_ENV="${BUNDLER_ENV}" \
TZ=:/etc/localtime \
BUNDLE_GEMFILE=gemfiles/prod/Gemfile \
BUNDLE_WITHOUT=development:test
BUNDLE_WITHOUT=development:test \
NODEJS_SCL=rh-nodejs8

WORKDIR /opt/system

Expand All @@ -15,11 +16,13 @@ ARG SPHINX_VERSION=2.2.11-1
ADD openshift/system/sphinx-${SPHINX_VERSION}.rhel7.x86_64.rpm /tmp/sphinxsearch.rpm

RUN yum -y update \
&& yum -y install ImageMagick \
&& yum -y install centos-release-scl-rh \
ImageMagick \
ImageMagick-devel \
unixODBC-devel \
mysql \
file \
rh-nodejs8 \
&& rpm -i /tmp/sphinxsearch.rpm \
&& rm /tmp/*.rpm \
&& yum install -y epel-release \
Expand Down
7 changes: 5 additions & 2 deletions openshift/system/Dockerfile.on_prem
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ ARG BUNDLER_ENV
ENV BUNDLER_ENV="${BUNDLER_ENV}" \
TZ=:/etc/localtime \
BUNDLE_GEMFILE=Gemfile \
BUNDLE_WITHOUT=development:test
BUNDLE_WITHOUT=development:test \
NODEJS_SCL=rh-nodejs8

WORKDIR /opt/system

Expand All @@ -15,11 +16,13 @@ ARG SPHINX_VERSION=2.2.11-1
ADD openshift/system/sphinx-${SPHINX_VERSION}.rhel7.x86_64.rpm /tmp/sphinxsearch.rpm

RUN yum -y update \
&& yum -y install ImageMagick \
&& yum -y install centos-release-scl-rh \
ImageMagick \
ImageMagick-devel \
unixODBC-devel \
mysql \
file \
rh-nodejs8 \
&& rpm -i /tmp/sphinxsearch.rpm \
&& rm /tmp/*.rpm \
&& yum install -y epel-release \
Expand Down

0 comments on commit 5c1f243

Please sign in to comment.