-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
59 lines (50 loc) · 1.4 KB
/
Dockerfile
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# ubuntu-base
#
# VERSION 0.0.1
FROM ubuntu:16.04
MAINTAINER Drecom Technical Development Department <pr_itn@drecom.co.jp>
RUN apt-get update \
&& apt-get upgrade -y --force-yes \
&& apt-get install -y --force-yes \
libssl-dev \
libreadline-dev \
zlib1g-dev \
language-pack-ja \
wget \
curl \
git \
build-essential \
vim \
dtach \
imagemagick \
libmagick++-dev \
libqtwebkit-dev \
libffi-dev \
mysql-client \
libmysqlclient-dev \
libxslt1-dev \
redis-tools \
xvfb \
python \
nodejs \
npm \
&& apt-get clean \
&& rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*
# pip install
RUN wget https://bootstrap.pypa.io/get-pip.py \
&& python get-pip.py
# s3cmd install
RUN pip install s3cmd
# phantomjs install
ENV PHANTOMJS_VERSION 2.1.1
RUN wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-${PHANTOMJS_VERSION}-linux-x86_64.tar.bz2 \
&& tar xf phantomjs-${PHANTOMJS_VERSION}-linux-x86_64.tar.bz2 \
&& mv phantomjs-${PHANTOMJS_VERSION}-linux-x86_64/bin/phantomjs /usr/bin/phantomjs \
&& rm -rf phantomjs-${PHANTOMJS_VERSION}-linux-x86_64 \
&& rm phantomjs-${PHANTOMJS_VERSION}-linux-x86_64.tar.bz2
# defaultのlocaleをja_JP.UTF-8にする
ENV LANG=ja_JP.UTF-8
RUN update-locale LANG=ja_JP.UTF-8
# Timezone変更
RUN echo "Asia/Tokyo" > /etc/timezone \
&& dpkg-reconfigure -f noninteractive tzdata