Skip to content

Instantly share code, notes, and snippets.

@xen0bit
Created October 11, 2023 04:19
Show Gist options
  • Save xen0bit/0dccb11605abbeb6021963e2b1a811d3 to your computer and use it in GitHub Desktop.
Save xen0bit/0dccb11605abbeb6021963e2b1a811d3 to your computer and use it in GitHub Desktop.

Revisions

  1. xen0bit created this gist Oct 11, 2023.
    27 changes: 27 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,27 @@
    FROM debian:latest

    RUN apt-get update && apt-get install -y \
    git \
    build-essential \
    wget \
    python3

    WORKDIR /build

    RUN wget https://github.com/curl/curl/releases/download/curl-7_74_0/curl-7.74.0.tar.gz

    RUN tar -xzvf curl-7.74.0.tar.gz

    WORKDIR /build/curl-7.74.0

    RUN ./configure --with-openssl

    RUN make -j$(nproc)

    RUN make install

    RUN cp -r /usr/local/lib /usr/lib

    RUN ldconfig

    ENTRYPOINT [ "/bin/bash"]