Skip to content

Commit

Permalink
Merge pull request #213 from GiriB/mipincha/update_dockerfile
Browse files Browse the repository at this point in the history
Updated Dockerfile.lite
  • Loading branch information
milind009 authored Apr 16, 2021
2 parents ccd954f + e20b3d3 commit 8584720
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions Dockerfile.lite
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ RUN apt-get update \
gnupg2 \
curl \
wget \
file \
zlib1g-dev \
liblzma-dev \
tzdata \
zip \
unzip \
locales \
openssh-client \
software-properties-common \
make \
libpq-dev \
libssl-dev \
Expand All @@ -50,23 +52,19 @@ RUN apt-get update \

### RUBY

# Install Ruby 2.6.5, update RubyGems, and install Bundler
# Install Ruby 2.6.6, update RubyGems, and install Bundler
ENV BUNDLE_SILENCE_ROOT_WARNING=1
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C3173AA6 \
&& echo "deb http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu bionic main" > /etc/apt/sources.list.d/brightbox.list \
&& apt-get update \
&& apt-get install -y ruby2.6 ruby2.6-dev \
&& gem update --system 3.0.3 \
&& gem install bundler -v 1.17.3 --no-document
RUN apt-add-repository ppa:brightbox/ruby-ng \
&& apt-get update \
&& apt-get install -y ruby2.6 ruby2.6-dev \
&& gem update --system 3.2.14 \
&& gem install bundler -v 1.17.3 --no-document

### JAVASCRIPT

# Install Node 10.0 and Yarn
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \
&& apt-get install -y nodejs \
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& apt-get update && apt-get install -y yarn
# Install Node 14.0 and npm and yarn
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \
&& apt-get install -y nodejs

# Copy src for only the gems we need.
COPY npm_and_yarn/ /opt/npm_and_yarn/
Expand Down

0 comments on commit 8584720

Please sign in to comment.