Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ FROM buildpack-deps

RUN useradd -g users user

RUN apt-get update && apt-get install -y bison procps
RUN apt-get update && apt-get install -y bison procps \
&& rm -rf /var/lib/apt/lists/*

# 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 && apt-get install -y ruby
RUN apt-get update && apt-get install -y ruby \
&& rm -rf /var/lib/apt/lists/*

ADD . /usr/src/ruby
WORKDIR /usr/src/ruby
Expand Down