Skip to content

Commit

Permalink
MAP-1044 revert cypress to last good docker image build state (#700)
Browse files Browse the repository at this point in the history
* MAP-1044 revert cypress to last good docker image build state

* MAP-1044 Install python3

* MAP-1044 Add test build Docker stage to pipeline

* MAP-1044 Remove errant trailing slash

* MAP-1044 - revert the reversion of cypress updates

---------

Co-authored-by: Daniel Benton <[email protected]>
  • Loading branch information
GurnankCheema and danbenton-mojdt authored May 8, 2024
1 parent 1416d7f commit 0734f76
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,15 @@ workflows:
branches:
only:
- main
- hmpps/build_docker:
name: test_build_docker
publish: false
requires:
- build
filters:
branches:
ignore:
- main
- hmpps/deploy_env:
name: deploy_dev
env: "dev"
Expand Down
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@ ARG GIT_REF

RUN apt-get update && \
apt-get upgrade -y
RUN apt-get -y install g++ make python3 curl && rm -rf /var/lib/apt/lists/*

WORKDIR /app

RUN apt-get install -y curl

RUN curl https://s3.amazonaws.com/rds-downloads/rds-ca-2019-root.pem \
> /app/root.cert


COPY . .

RUN CYPRESS_INSTALL_BINARY=0 npm ci --no-audit && \
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0734f76

Please sign in to comment.