From 3550b0e43b80cfeb52483e9f9c6fd90533126323 Mon Sep 17 00:00:00 2001 From: Marcos Maceo Date: Wed, 3 Apr 2019 15:17:46 -0400 Subject: [PATCH 1/2] [skyapi] refs #8 Added Dockerfile to project --- docker/images/dev-cli/Dockerfile | 15 +++++++++++++++ docker/images/dev-cli/README.md | 0 2 files changed, 15 insertions(+) create mode 100644 docker/images/dev-cli/Dockerfile create mode 100644 docker/images/dev-cli/README.md diff --git a/docker/images/dev-cli/Dockerfile b/docker/images/dev-cli/Dockerfile new file mode 100644 index 0000000..a69e46c --- /dev/null +++ b/docker/images/dev-cli/Dockerfile @@ -0,0 +1,15 @@ +FROM ruby:2.5 + +# throw errors if Gemfile has been modified since Gemfile.lock +RUN bundle config --global frozen 1 + +WORKDIR /usr/src/skyapi_ruby +COPY ./lib/skyapi . +#RUN bundle config --delete frozen && bundle update && gem update --system +#RUN bundle install +RUN bundle config --delete frozen +RUN bundle update + +RUN bundle install +RUN gem update --system +#RUN gem build skyapi.gemspec && gem install ./sky_api-0.25.1.gem diff --git a/docker/images/dev-cli/README.md b/docker/images/dev-cli/README.md new file mode 100644 index 0000000..e69de29 From 581da7e6a806e20262615aec055b5f1e9b14e275 Mon Sep 17 00:00:00 2001 From: Marcos Antonio Maceo <35319980+stdevMac@users.noreply.github.com> Date: Sun, 21 Apr 2019 09:15:42 -0400 Subject: [PATCH 2/2] [stdevMac] refs #8 Updated dockerfile for wrapper --- docker/images/dev-cli/Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/docker/images/dev-cli/Dockerfile b/docker/images/dev-cli/Dockerfile index a69e46c..de654a8 100644 --- a/docker/images/dev-cli/Dockerfile +++ b/docker/images/dev-cli/Dockerfile @@ -5,11 +5,8 @@ RUN bundle config --global frozen 1 WORKDIR /usr/src/skyapi_ruby COPY ./lib/skyapi . -#RUN bundle config --delete frozen && bundle update && gem update --system -#RUN bundle install RUN bundle config --delete frozen RUN bundle update RUN bundle install RUN gem update --system -#RUN gem build skyapi.gemspec && gem install ./sky_api-0.25.1.gem