1
0
mirror of https://github.com/jcwimer/docker-swarm-autoscaler synced 2026-05-10 07:47:24 +00:00

First release with tests

This commit is contained in:
2019-12-18 13:35:37 -05:00
parent 4c4c972dbd
commit 0f2424221a
15 changed files with 797 additions and 44 deletions

18
tests/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM ruby:2.6.3
RUN apt-get update -qq && \
apt-get install -y -qq \
jq \
make \
gcc \
bash
RUN echo 'gem: --no-rdoc --no-ri' > /root/.gemrc
RUN gem install bundler
RUN gem update --system
RUN mkdir -p /gemfile
#Cache gems so they don't install on every code change
WORKDIR /gemfile
COPY Gemfile Gemfile
COPY Gemfile.lock Gemfile.lock
RUN bundle install --jobs 4