Skip to content
Snippets Groups Projects
Commit 415b46f5 authored by inso's avatar inso
Browse files

install libsodium

parent 840b2839
Branches
Tags 0.1.19
No related merge requests found
Pipeline #
......@@ -26,6 +26,18 @@ RUN mkdir /builder && \
chown builder:builder /builder
WORKDIR /builder
# Load libsodium
USER root
RUN curl https://download.libsodium.org/libsodium/releases/LATEST.tar.gz --output LATEST.tar.gz && \
tar zxvf LATEST.tar.gz && \
cd libsodium-stable && \
./configure && \
make && \
make check && \
make install
cd .. && \
rm -rf libsodium-stable
# Load pyenv
ENV PYENV_ROOT "/builder/.pyenv"
USER builder
......@@ -34,8 +46,6 @@ RUN git clone https://github.com/pyenv/pyenv.git /builder/.pyenv && \
PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install --force 3.5.5 && \
PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install --force 3.6.4
USER root
# Entry point
COPY bootstrap.sh /root/bootstrap.sh
RUN chmod u+x /root/bootstrap.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment