Skip to content

Commit

Permalink
chomolungma: build openssl and libsodium
Browse files Browse the repository at this point in the history
From branch icfp2017, .docker/everest-icfp2017/Dockerfile
  • Loading branch information
tahina-pro committed May 12, 2017
1 parent e4c6591 commit 6ee5a8f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .docker/everest-chomolungma/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,23 @@ RUN git clone https://github.com/project-everest/everest.git everest
WORKDIR ${MYHOME}/everest
RUN ./everest --yes check pull

# Install all HACL* prerequisites
# (see INSTALL.md on the HACL* jk_snap branch)
WORKDIR hacl-star/other_providers
RUN git submodule update --init
WORKDIR openssl
RUN ./config no-asm
RUN make
WORKDIR ../libsodium
RUN ./autogen.sh
RUN ./configure --disable-asm --enable-opt
RUN make
RUN sudo make install
ENV LD_LIBRARY_PATH "/usr/local/lib"

# Set the final directory entrypoint
WORKDIR ${MYHOME}/everest

# Provide the default command prefix when a container is created from this image, by `docker run`
ENTRYPOINT ["/bin/bash", "--login", "-c"]

Expand Down

0 comments on commit 6ee5a8f

Please sign in to comment.