Skip to content
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Add dockerfile for ease of development
  • Loading branch information
kwerle committed Mar 22, 2021
commit 767e2130d437679ece7d388f60b35cd685c55fc4
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# docker build -t rdebug-ide .
# docker run --rm rdebug-ide rake
# docker run -it --rm -e RUBYLIB=/mounted/lib/ -p 127.0.0.1:1234:1234 -v $PWD:/mounted -w /mounted rdebug-ide bash

# Maybe you prefer jruby?
# docker build --build-arg RUBY_FLAVOR=jruby --build-arg RUBY_VERSION=latest -t rdebug-ide .
ARG IMAGE=ruby
ARG TAG=3.0
FROM ${IMAGE}:${TAG}

WORKDIR /src

COPY Gemfile .
COPY *.gemspec .
COPY lib/ruby-debug-ide/version.rb ./lib/ruby-debug-ide/version.rb

RUN bundle

COPY . .