Skip to content

Commit

Permalink
Simplify focal image
Browse files Browse the repository at this point in the history
  • Loading branch information
akuzminsky committed Jul 29, 2023
1 parent ee5867b commit 388543b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1,232 deletions.
23 changes: 7 additions & 16 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
FROM ubuntu:focal
MAINTAINER [email protected]

RUN rm /bin/sh && ln -s /bin/bash /bin/sh

RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
git \
Expand All @@ -29,20 +27,13 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
libgcrypt20-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;\
"
unzip \
ruby \
ruby-dev \
ruby-bundler \
pkgconf; \
apt-get clean

RUN rm -rf /usr/local/rvm/src/ruby-*
RUN gem install omnibus

CMD /bin/bash -l
Loading

0 comments on commit 388543b

Please sign in to comment.