2019-10-28 17:47:04 +00:00
|
|
|
FROM ruby:2.5.1-stretch
|
2018-09-06 21:29:07 +00:00
|
|
|
ARG USER
|
|
|
|
RUN mkdir /myapp
|
|
|
|
COPY script/build/debian/prebuild.sh myapp/script/build/debian/prebuild.sh
|
|
|
|
RUN myapp/script/build/debian/prebuild.sh
|
|
|
|
COPY script/build/debian/node.sh myapp/script/build/debian/node.sh
|
|
|
|
RUN myapp/script/build/debian/node.sh
|
|
|
|
COPY script/build/debian/postgres.sh myapp/script/build/debian/postgres.sh
|
|
|
|
RUN myapp/script/build/debian/postgres.sh
|
|
|
|
COPY script/build/debian/java.sh myapp/script/build/debian/java.sh
|
|
|
|
RUN myapp/script/build/debian/java.sh
|
2019-01-09 23:57:35 +00:00
|
|
|
COPY gems /myapp/gems/
|
2018-09-06 21:29:07 +00:00
|
|
|
WORKDIR /myapp
|
|
|
|
COPY Gemfile /myapp/Gemfile
|
|
|
|
COPY Gemfile.lock /myapp/Gemfile.lock
|
|
|
|
RUN bundle install
|
2018-10-26 16:13:19 +00:00
|
|
|
CMD rake -T
|
2018-10-25 22:12:28 +00:00
|
|
|
|