-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (18 loc) · 579 Bytes
/
Dockerfile
File metadata and controls
31 lines (18 loc) · 579 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 debian:stretch
RUN deps='liblzma-dev zlib1g-dev ruby ruby-bundler ruby-dev' \
&& apt-get update \
&& apt-get install -y gcc g++ make \
&& apt-get install -y $deps
ARG GEM_MIRROR=mirror.https://rubygems.org
ENV GEM_MIRROR ${GEM_MIRROR}
ARG TZ=Etc/UTC
ENV TZ ${TZ}
COPY Gemfile* /tmp/
WORKDIR /tmp
RUN bundle config mirror.https://rubygems.org ${GEM_MIRROR} \
&& bundle install
RUN ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \
&& dpkg-reconfigure -f noninteractive tzdata
ADD . /materialize-jekyll
WORKDIR /materialize-jekyll
EXPOSE 4000