-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (24 loc) · 789 Bytes
/
Dockerfile
File metadata and controls
31 lines (24 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM andymeneely/squib:latest
# This Dockerfile is built specifically for project-timber-wolf
RUN apt-get update && \
apt-get install -y \
libgirepository1.0-dev
# build-essential \
# xorg \
# libssl-dev \
# libxrender-dev \
# wget \
# gdebi
COPY Gemfile /usr/src/app/
RUN gem install bundler && \
cd /usr/src/app && \
bundle install
RUN mkdir ~/.fonts
COPY fonts/*.otf /usr/share/fonts/
COPY fonts/*.ttf /usr/share/fonts/
RUN fc-cache -f -v /usr/share/fonts/
ENV QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb
RUN wget -q https://bitbucket.org/wkhtmltopdf/wkhtmltopdf/downloads/wkhtmltox-0.13.0-alpha-7b36694_linux-trusty-amd64.deb ; \
dpkg -i wkhtmltox-0.13.0-alpha-7b36694_linux-trusty-amd64.deb ; \
apt-get install -f
WORKDIR /usr/src/app