From fc4fc0ecaf18444040ed4b8973c75651322bb632 Mon Sep 17 00:00:00 2001 From: mo khan Date: Mon, 14 Oct 2019 16:19:08 -0600 Subject: Create development group --- Dockerfile | 2 +- Gemfile | 9 ++++++--- README.md | 3 ++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4ba463e..d00bb4e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,6 @@ RUN apk update && \ RUN git clone https://github.com/sstephenson/bats.git /opt/bats && cd /opt/bats && ./install.sh /usr/local WORKDIR /code COPY . /code -RUN bundle install --jobs $(nproc) && yarn install +RUN bundle install --jobs $(nproc) --without development && yarn install RUN sed -i 's/{ headless: true }/{ headless: true, executablePath: "\/usr\/bin\/chromium-browser", args: ["--no-sandbox", "--disable-setuid-sandbox"] }/g' node_modules/mdpdf/src/index.js CMD ["bundle", "exec", "rake"] diff --git a/Gemfile b/Gemfile index a4a9815..a184b1a 100644 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,10 @@ source "https://rubygems.org" git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } -gem "commonmarker", "~> 0.20" -gem "github-markup", "~> 3.0" gem "rake", "~> 12.3" -gem "sinatra", "~> 2.0" + +group :development do + gem "sinatra", "~> 2.0" + gem "commonmarker", "~> 0.20" + gem "github-markup", "~> 3.0" +end diff --git a/README.md b/README.md index 8321153..19c3f58 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# COMP-325 Assignment 3 - System Administration - mo khan (3431709) +# COMP-325 Assignment 3 - System Administration +Author: mo khan (3431709) The artifacts used to produce the final result for this assigment can be found at https://gitlab.com/xlgmokha/comp-325. The latest docker image for this -- cgit v1.2.3