Skip to content

Commit

Permalink
Update deprecated Debian repos
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasgarciaisaia committed Jul 12, 2024
1 parent dfdfe50 commit c6ef994
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ruby-1.9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ENV RUBYGEMS_VERSION 1.8.23.2
# skip installing gem documentation
RUN echo 'install: --no-document\nupdate: --no-document' > "$HOME/.gemrc"

# Debian Jessie has long been archived
RUN printf "deb [trusted=yes] http://archive.debian.org/debian jessie main\ndeb [trusted=yes] http://archive.debian.org/debian-security/ jessie/updates main" > /etc/apt/sources.list

# 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
RUN apt-get update \
Expand All @@ -31,7 +34,7 @@ RUN apt-get update \
ENV GEM_HOME /usr/local/bundle
ENV PATH $GEM_HOME/bin:$PATH

ENV BUNDLER_VERSION 1.10.6
ENV BUNDLER_VERSION 1.17.3

RUN gem install bundler --version "$BUNDLER_VERSION" \
&& bundle config --global path "$GEM_HOME" \
Expand Down

0 comments on commit c6ef994

Please sign in to comment.