Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
No need to install openssl now.

[ci skip]
  • Loading branch information
gaborcsardi committed Apr 7, 2024
1 parent 833efb8 commit 7452df2
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,6 @@ FROM alpine:3.15

RUN apk add curl linux-headers bash gcc musl-dev g++ pkgconf make file

# zlib --------------------------------------------------------------------

RUN curl -OL https://downloads.sourceforge.net/project/libpng/zlib/1.2.11/zlib-1.2.11.tar.gz
RUN tar xzf zlib-*.tar.gz && rm zlib-*.tar.gz
RUN cd zlib-* && \
CFLAGS=-fPIC ./configure --static && \
make && \
make install

# openssl -----------------------------------------------------------------

RUN curl -O https://www.openssl.org/source/openssl-1.1.1w.tar.gz
RUN tar xzf openssl-*.tar.gz && rm openssl-*.tar.gz
RUN apk add perl linux-headers
RUN cd openssl-* && \
CFLAGS=-fPIC ./config -fPIC no-shared && \
make && \
make install_sw && \
rm -rf /usr/local/bin/openssl \
/usr/local/share/{man/doc}

# install rust toolchain for 'rigbuild' user ==============================

RUN adduser rigbuild -D
Expand Down

0 comments on commit 7452df2

Please sign in to comment.