Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chore: remove libsodium build step
sodiumoxide now uses static bindings, meaning we don't need to build libsodium anymore.
  • Loading branch information
Kyle Clemens committed Dec 7, 2018
1 parent c94ddee commit 039950b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .docker/buildenv/Dockerfile
Expand Up @@ -13,20 +13,10 @@ RUN apt-get install \
libpq-dev \
pkg-config

RUN git clone -b stable git://github.com/jedisct1/libsodium.git /libsodium

WORKDIR /libsodium

RUN ./autogen.sh
RUN ./configure --prefix="$HOME/libsodium-build"
RUN make install

WORKDIR /

RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly-2018-12-01

RUN echo "source $HOME/.cargo/env" >> $HOME/.bashrc
RUN echo "export PKG_CONFIG_PATH=$HOME/libsodium-build/lib/pkgconfig" >> $HOME/.bashrc
RUN echo "export LD_LIBRARY_PATH=$HOME/libsodium-build/lib" >> $HOME/.bashrc

WORKDIR /paste

0 comments on commit 039950b

Please sign in to comment.