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:
18
tests/Dockerfile
Normal file
18
tests/Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user