This is the dockerfile I've been using to run airdcpp-webclient:
Code
# Dockerfile to build airdcpp-webclient containers
FROM ubuntu:15.10
RUN apt-get update
RUN apt-get install -y gcc g++ git cmake npm python pkg-config
RUN apt-get install -y pkg-config libbz2-dev zlib1g-dev libssl-dev \
libstdc++6 libminiupnpc-dev libnatpmp-dev \
libtbb-dev libgeoip-dev libboost1.5*-dev \
libboost-regex1.5* libboost-thread1.5* \
libboost-system1.5* libleveldb-dev
RUN apt-get install libwebsocketpp-dev
RUN git clone https://github.com/airdcpp-web/airdcpp-webclient.git
RUN cd airdcpp-webclient && cmake . && make -j5 && make install
RUN apt-get clean
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
EXPOSE 5051
EXPOSE 5052/udp
EXPOSE 5053
EXPOSE 5600
CMD airdcppd
Alles anzeigen
And this is a sample run command that you can customize according to your needs:
Code
docker run -d -p 5051:5051 -p 5052:5052/udp -p 5053:5053 -p 5600:5600 \
-v /tank/Incoming:/Incoming -v /tank/Music:/Music -v /tank/SeriousMusic:/SeriousMusic \
-v /root/.airdc++:/root/.airdc++ --restart=unless-stopped --name airdc airdcpp-webclient
***
(You need to edit a config file to set the admin username and passwd (same thing aircppd --configure does))
(Don't have access to my installation right now, will update the post soon with filenames and more specific info etc)
(Sorry the first post was incomplete)
***