Skip to content

Commit

Permalink
Dockerfile.builder: Add "cabal update" step (#2168)
Browse files Browse the repository at this point in the history
* Dockerfile.builder: Add cabal update

* add changelog entry
  • Loading branch information
smatting authored Mar 1, 2022
1 parent efc0eaa commit ee1c924
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/ubuntu/Dockerfile.builder
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN set -x && \
stack build haskell-src-exts && \
stack build --pedantic --test --no-run-tests --bench --no-run-benchmarks --dependencies-only -j${THREADS} && \
stack install ormolu && \
cabal update && \
cabal build all --dependencies-only ${CABAL_BUILD_ARGS} && \
cd / && \
# we run the build only to cache the built source in /root/.stack, we can remove the source code itself
Expand Down
1 change: 1 addition & 0 deletions changelog.d/5-internal/ubuntu20-add-cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Dockerfile.builder: Add cabal update

0 comments on commit ee1c924

Please sign in to comment.