File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM centos:7
1+ FROM quay.io/condaforge/linux-anvil-cos7-x86_64
22
33RUN yum -y update
44RUN yum -y install zlib-devel wget ncurses-devel ncurses-compat-libs make gcc gcc-c++
55
66# Install GHC since stack's local install has issues
7- RUN wget https://downloads.haskell.org/~ ghc/9.4.7 /ghc-9.4.7 -x86_64-centos7-linux.tar.xz
8- RUN tar xvf ghc-9.4.7 -x86_64-centos7-linux.tar.xz
9- RUN cd ghc-9.4.7 -x86_64-unknown-linux; ./configure; make install
7+ RUN wget https://downloads.haskell.org/ghc/9.6.6 /ghc-9.6.6 -x86_64-centos7-linux.tar.xz
8+ RUN tar xvf ghc-9.6.6 -x86_64-centos7-linux.tar.xz
9+ RUN cd ghc-9.6.6 -x86_64-unknown-linux; ./configure; make install
1010
1111# install stack
1212RUN curl -sSL https://get.haskellstack.org/ | sh
@@ -16,6 +16,6 @@ ADD . source
1616WORKDIR source
1717
1818# install
19- # - as described in cryptonite README, cryptoniate requires disabling "use_target_attributes"
20- # - for bitvec the "simd" flag added in v1.1.5.0 has to be deactivated - the gcc version here does not seem to support it
21- RUN stack install --system-ghc --flag cryptonite :-use_target_attributes --flag bitvec:-simd
19+ # - as described in crypton README, crypton requires disabling "use_target_attributes"
20+ # - for bitvec the "simd" flag added in v1.1.5.0 has to be deactivated
21+ RUN stack install --system-ghc --flag crypton :-use_target_attributes --flag bitvec:-simd
You can’t perform that action at this time.
0 commit comments