mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-14 18:48:16 -07:00
Support Cabal 3. Man page no longer autobuilds.
This commit is contained in:
parent
874bdcb514
commit
2c026f1ec7
4 changed files with 9 additions and 47 deletions
|
@ -1,5 +1,5 @@
|
|||
# Build-only image
|
||||
FROM ubuntu:18.04 AS build
|
||||
FROM ubuntu:19.10 AS build
|
||||
USER root
|
||||
WORKDIR /opt/shellCheck
|
||||
|
||||
|
@ -12,7 +12,7 @@ COPY ShellCheck.cabal ./
|
|||
RUN cabal update && cabal install --dependencies-only --ghc-options="-optlo-Os -split-sections"
|
||||
|
||||
# Copy source and build it
|
||||
COPY LICENSE Setup.hs shellcheck.hs ./
|
||||
COPY LICENSE shellcheck.hs ./
|
||||
COPY src src
|
||||
RUN cabal build Paths_ShellCheck && \
|
||||
ghc -optl-static -optl-pthread -isrc -idist/build/autogen --make shellcheck -split-sections -optc-Wl,--gc-sections -optlo-Os && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue