Skip to content

Commit

Permalink
move jq into base as deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
asteel-gsa committed Mar 6, 2024
1 parent 2e2d4b3 commit 892a14c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker_image_for_main_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ on:
- main
# - spiffdemo
# - feature/update-extension-docs
# - deploy-to-cloud-gov
- deploy-to-cloud-gov

jobs:
create_frontend_docker_image:
Expand Down
7 changes: 3 additions & 4 deletions spiffworkflow-backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ RUN apt-get update \
&& apt-get install -y -q git-core curl procps gunicorn3 default-mysql-client vim-tiny \
&& rm -rf /var/lib/apt/lists/*

# install jq so we can get values from vcap
RUN pip install jq

# keep pip up to date
RUN pip install --upgrade pip
RUN pip install poetry==1.8.1


######################## - SETUP

# Setup image for installing Python dependencies.
Expand All @@ -43,9 +45,6 @@ FROM base AS setup
RUN pip install poetry==1.6.1
RUN useradd _gunicorn --no-create-home --user-group

# install jq so we can get values from vcap
RUN pip install jq

# default-libmysqlclient-dev for mysqlclient lib
RUN apt-get update \
&& apt-get install -y -q gcc libssl-dev libpq-dev default-libmysqlclient-dev pkg-config libffi-dev
Expand Down

0 comments on commit 892a14c

Please sign in to comment.