Skip to content

Commit e475357

Browse files
committed
update of conda build dockerfile according to what we did for poseidon-hs
1 parent 84afbc3 commit e475357

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM centos:7
1+
FROM quay.io/condaforge/linux-anvil-cos7-x86_64
22

33
RUN yum -y update
44
RUN 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
1212
RUN curl -sSL https://get.haskellstack.org/ | sh
@@ -16,6 +16,6 @@ ADD . source
1616
WORKDIR 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

0 commit comments

Comments
 (0)