summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2019-10-14 16:19:08 -0600
committermo khan <mo.khan@gmail.com>2019-10-14 16:19:08 -0600
commitfc4fc0ecaf18444040ed4b8973c75651322bb632 (patch)
tree761079a5e882f7714d9999d892d12005a66cc5f4
parent60cbcc8ec6ba9c42168139a36c73d04d0d89fe12 (diff)
Create development group
-rw-r--r--Dockerfile2
-rw-r--r--Gemfile9
-rw-r--r--README.md3
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