mirror of
https://github.com/alrayyes/hugo-node-ruby-docker
synced 2023-11-14 15:56:28 +00:00
ruby works now
This commit is contained in:
parent
3dc2eef5e4
commit
71d7feac57
@ -36,7 +36,7 @@ RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc"
|
|||||||
# some of ruby's build scripts are written in ruby
|
# some of ruby's build scripts are written in ruby
|
||||||
# we purge this later to make sure our final image uses what we just built
|
# we purge this later to make sure our final image uses what we just built
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y bison libgdbm-dev ruby autoconf \
|
&& apt-get install -y bison libgdbm-dev ruby autoconf zlib1g-dev libssl-dev \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& mkdir -p /usr/src/ruby \
|
&& mkdir -p /usr/src/ruby \
|
||||||
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
|
&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
|
||||||
@ -48,7 +48,7 @@ RUN apt-get update \
|
|||||||
&& ./configure --disable-install-doc \
|
&& ./configure --disable-install-doc \
|
||||||
&& make -j"$(nproc)" \
|
&& make -j"$(nproc)" \
|
||||||
&& make install \
|
&& make install \
|
||||||
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby \
|
&& apt-get purge -y --auto-remove bison libgdbm-dev ruby autoconf zlib1g-dev libssl-dev \
|
||||||
&& gem update --system $RUBYGEMS_VERSION \
|
&& gem update --system $RUBYGEMS_VERSION \
|
||||||
&& rm -r /usr/src/ruby
|
&& rm -r /usr/src/ruby
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user