forked from Alfresco/docs-alfresco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
46 lines (39 loc) · 1.04 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
FROM centos:centos7
RUN yum update -y
RUN yum install -y python3 && \
yum install -y bzip2 && \
yum install -y zip && \
yum install -y unzip && \
yum install -y nano && \
yum install -y git && \
yum install -y which && \
yum install -y groff && \
yum install -y wget && \
yum -y install \
epel-release \
make \
gcc \
gcc-c++ \
git \
openssl-devel \
zlib-devel \
mysql-devel \
redis \
sqlite-devel \
readline-devel
ARG RUBY_PATH=/usr/local
ARG RUBY_VERSION=2.6.5
RUN git clone git://github.com/rbenv/ruby-build.git $RUBY_PATH/plugins/ruby-build \
&& $RUBY_PATH/plugins/ruby-build/install.sh
RUN ruby-build $RUBY_VERSION $RUBY_PATH/
ENV PATH $RUBY_PATH/bin:$PATH
RUN gem update --system
RUN gem install jekyll
RUN gem install bundler
RUN gem install jekyll-theme-minimal
RUN curl -sL https://rpm.nodesource.com/setup_10.x | bash -
RUN yum -y install nodejs openssl
RUN npm install gulp-cli -g
RUN npm i
WORKDIR /home/user
COPY . .