ADD alpine-minirootfs-3.21.0-x86_64.tar.gz / # buildkit |
CMD ["/bin/sh"] |
ENV APP_HOME=/i2p |
RUN /bin/sh -c apk add openjdk21-jre ttf-opensans # buildkit |
WORKDIR /i2p |
COPY /tmp/build/pkg-temp . # buildkit |
COPY docker/rootfs/ / # buildkit |
RUN /bin/sh -c chmod +x /startapp.sh # buildkit |
RUN /bin/sh -c echo "i2np.udp.internalPort=17616=$EXTERNAL_PORT" >> ${APP_HOME}/router.config # buildkit |
RUN /bin/sh -c echo "i2np.udp.port=$EXTERNAL_PORT" >> ${APP_HOME}/router.config # buildkit |
VOLUME [/i2p/.i2p] |
VOLUME [/i2psnark] |
EXPOSE map[12345/tcp:{} 4444/tcp:{} 6668/tcp:{} 7654/tcp:{} 7656/tcp:{} 7657/tcp:{} 7658/tcp:{} 7659/tcp:{} 7660/tcp:{} 7667/tcp:{}] |
LABEL org.label-schema.name=i2p org.label-schema.description=Docker container for I2P+ org.label-schema.version=1.0 org.label-schema.vcs-url=https://github.com/I2PPlus/i2pplus org.label-schema.schema-version=1.0 |
ENTRYPOINT ["/startapp.sh"] |