-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from travis-ci/cs-addjq
Adding jq and curl to Docker image
- Loading branch information
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |