Skip to content

Commit e233714

Browse files
authored
add dummy values to docker file (#629)
add poppler for pdf preview
1 parent 70d0b8b commit e233714

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ RUN apt-get update -qq && apt-get install -y \
2424
yarn \
2525
imagemagick \
2626
libvips \
27+
poppler-utils \
2728
tzdata \
2829
libxml2-dev \
2930
libxslt1-dev \
@@ -46,14 +47,17 @@ RUN bundle install --without development test
4647
# Without these build args the asset precompilation will fail.
4748

4849
# Precompile assets (if applicable)
49-
RUN SECRET_KEY_BASE=1 bundle exec rake assets:precompile
50-
50+
RUN SECRET_KEY_BASE=1 \
51+
MANDRILL_USERNAME=dummy \
52+
MANDRILL_APIKEY=dummy \
53+
bundle exec rake assets:precompile
5154

5255
FROM base AS server
5356

5457
RUN apt-get update -qq && apt-get install --no-install-recommends -y \
5558
imagemagick \
5659
libvips \
60+
poppler-utils \
5761
tzdata \
5862
libxml2 \
5963
libxslt1.1 \

0 commit comments

Comments
 (0)