Skip to content

Commit

Permalink
Merge pull request #93 from travis-ci/cs-addjq
Browse files Browse the repository at this point in the history
Adding jq and curl to Docker image
  • Loading branch information
cesar-cs authored Jun 16, 2020
2 parents 04dd651 + 4e3bad6 commit b2186d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,21 @@ LABEL maintainer Travis CI GmbH <[email protected]>
# packages required for bundle install
RUN ( \
apt-get update ; \
apt-get install -y --no-install-recommends git make gcc g++ libpq-dev \
apt-get install -y --no-install-recommends git make gcc g++ libpq-dev curl jq \
&& rm -rf /var/lib/apt/lists/* \
)
# throw errors if Gemfile has been modified since Gemfile.lock
RUN bundle config --global frozen 1

RUN mkdir -p /app
WORKDIR /app
COPY Gemfile /app
COPY Gemfile.lock /app

RUN gem install bundler -v '2.0.1'
RUN bundler install --verbose --retry=3 --deployment --without development test
RUN gem install --user-install executable-hooks

COPY . /app

CMD bin/job-board-pgbouncer-exec bin/job-board-server

0 comments on commit b2186d8

Please sign in to comment.