-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
48 lines (41 loc) · 1.21 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
FROM ubuntu:bionic
MAINTAINER dev@twindb.com
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
git \
curl \
build-essential \
libssl-dev \
libreadline-dev \
libxslt1-dev \
libxml2-dev \
libcurl4-gnutls-dev \
zlib1g-dev \
libexpat1-dev \
libicu-dev \
gnupg2 \
cmake \
flex \
bison \
automake \
autoconf \
libtool \
libaio-dev \
mysql-client \
libncurses-dev \
libgcrypt11-dev \
libev-dev \
vim-common \
unzip
COPY gpg/409B6B1796C275462A1703113804BB82D39DC0E3.txt /tmp/409B6B1796C275462A1703113804BB82D39DC0E3.txt
COPY gpg/7D2BAF1CF37B13E2069D6956105BD0E739499BDB.txt /tmp/7D2BAF1CF37B13E2069D6956105BD0E739499BDB.txt
RUN gpg2 --import /tmp/7D2BAF1CF37B13E2069D6956105BD0E739499BDB.txt
RUN gpg2 --import /tmp/409B6B1796C275462A1703113804BB82D39DC0E3.txt
RUN curl -sSL https://get.rvm.io | bash -s stable
RUN bash -lc "rvm requirements; \
rvm install 2.6.1 ; \
gem install bundler ;\
"
RUN rm -rf /usr/local/rvm/src/ruby-*
CMD /bin/bash -l