Public Repository

Last pushed: 2 years ago
Short Description
Docker image for i2pd built from source
Full Description
FROM ubuntu:latest

RUN apt-get update
RUN apt-get install build-essential -y
RUN apt-get install \
    libboost-chrono-dev \
    libboost-date-time-dev \
    libboost-filesystem-dev \
    libboost-program-options-dev \
    libboost-regex-dev \
    libboost-system-dev \
    libboost-thread-dev \
    libssl-dev \
    libminiupnpc-dev -y
RUN apt-get install -y cmake git

RUN git clone https://github.com/PurpleI2P/i2pd /i2pd


WORKDIR /i2pd/build
RUN cmake -DCMAKE_BUILD_TYPE=Release -DWITH_LIBRARY=OFF -DWITH_PCH=ON -DWITH_UPNP=ON -DWITH_AESNI=ON -DWITH_HARDENING=ON
RUN make -j8

RUN sum i2pd
RUN cp i2pd /usr/bin

# service      port
# ------------|----
# [httpproxy]  4446
# [socksproxy] 4447
# [bob]        2827
# [sam]        7656
# [i2pcontrol] 7650

EXPOSE 4446 4447 2827 80 7650 7656

ENTRYPOINT ["i2pd"]
Docker Pull Command
Owner
cydev

Comments (0)