-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
34 lines (30 loc) · 959 Bytes
/
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
FROM drecom/centos-ruby:3.1.0-slim
LABEL maintainer "Drecom Technical Development Department <[email protected]>"
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Change default locale to ja-JP.UTF-8
ENV LANG=ja_JP.UTF-8
RUN localedef -f UTF-8 -i ja_JP ja_JP.UTF-8
RUN cp -p /usr/share/zoneinfo/Japan /etc/localtime && \
echo 'ZONE="Asia/Tokyo"' > /etc/sysconfig/clock
# Add repository
RUN curl -sL https://rpm.nodesource.com/setup_11.x | bash - && \
curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo && \
yum -y install epel-release
# Install packages
RUN yum -y groupinstall "Development Tools" && \
yum -y install \
gcc \
nodejs \
yarn \
wget \
mysql \
redis \
readline-devel \
libffi-devel \
libxslt-devel \
zlib-devel \
openssl-devel \
mysql-devel \
sqlite-devel && \
yum clean all
CMD [ "irb" ]