Skip to content

Commit

Permalink
Fix dependency issue in redhat image (#11497)
Browse files Browse the repository at this point in the history
  • Loading branch information
geekgonecrazy authored and engelgabriel committed Jul 18, 2018
1 parent 9c82650 commit 52439de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .docker/Dockerfile.rhel
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ VOLUME /opt/app-root/src/uploads

WORKDIR /opt/app-root/src/bundle

# Hack needed to force use of bundled library instead of system level outdated library
# https://github.com/lovell/sharp/issues/892
ENV LD_PRELOAD=/opt/app-root/src/bundle/programs/server/npm/node_modules/sharp/vendor/lib/libz.so

ENV DEPLOY_METHOD=docker-redhat \
NODE_ENV=production \
MONGO_URL=mongodb://mongo:27017/rocketchat \
Expand Down

0 comments on commit 52439de

Please sign in to comment.