Skip to content

Commit 388543b

Browse files
committed
Simplify focal image
1 parent ee5867b commit 388543b

File tree

3 files changed

+7
-1232
lines changed

3 files changed

+7
-1232
lines changed

Dockerfile

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
FROM ubuntu:focal
22
33

4-
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
5-
64
RUN apt-get update
75
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
86
git \
@@ -29,20 +27,13 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
2927
libgcrypt20-dev \
3028
libev-dev \
3129
vim-common \
32-
unzip
33-
34-
COPY gpg/409B6B1796C275462A1703113804BB82D39DC0E3.txt /tmp/409B6B1796C275462A1703113804BB82D39DC0E3.txt
35-
COPY gpg/7D2BAF1CF37B13E2069D6956105BD0E739499BDB.txt /tmp/7D2BAF1CF37B13E2069D6956105BD0E739499BDB.txt
36-
RUN gpg2 --import /tmp/7D2BAF1CF37B13E2069D6956105BD0E739499BDB.txt
37-
RUN gpg2 --import /tmp/409B6B1796C275462A1703113804BB82D39DC0E3.txt
38-
39-
RUN curl -sSL https://get.rvm.io | bash -s stable
40-
41-
RUN bash -lc "rvm requirements; \
42-
rvm install 2.6.1 ; \
43-
gem install bundler;\
44-
"
30+
unzip \
31+
ruby \
32+
ruby-dev \
33+
ruby-bundler \
34+
pkgconf; \
35+
apt-get clean
4536

46-
RUN rm -rf /usr/local/rvm/src/ruby-*
37+
RUN gem install omnibus
4738

4839
CMD /bin/bash -l

0 commit comments

Comments
 (0)