-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (28 loc) · 833 Bytes
/
Copy pathDockerfile
File metadata and controls
32 lines (28 loc) · 833 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
32
FROM sikmi/awseb-deployer-docker
# ruby install
RUN curl -O http://ftp.ruby-lang.org/pub/ruby/2.7/ruby-2.7.5.tar.gz && \
tar -zxvf ruby-2.7.5.tar.gz && \
cd ruby-2.7.5 && \
./configure --disable-install-doc && \
make && \
make install && \
cd .. && \
rm -r ruby-2.7.5 ruby-2.7.5.tar.gz
RUN gem install bundler
# node install
RUN set -ex \
&& curl -sL https://deb.nodesource.com/setup_6.x | bash - \
&& DEBIAN_FRONTEND=noninteractive apt-get -y install \
nodejs \
--no-install-recommends \
&& npm cache clean \
&& npm install n -g \
&& n 6.1.0 \
&& apt-get purge -y nodejs \
&& rm -rf /var/lib/apt/lists/*
RUN set -ex \
&& apt-get update \
&& apt-get install -y \
mysql-client \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*