docker – Blame information for rev 63

Subversion Repositories:
Rev:
Rev Author Line No. Line
63 office 1 FROM debian:bookworm-slim
2  
3 # update package manager
4 RUN apt-get update -y && \
5 apt-get upgrade -y && \
6 apt-get dist-upgrade -y && \
7 apt-get -y autoremove && \
8 apt-get clean
9  
10 # install required packages
11 RUN apt-get -y install \
12 curl
13  
14 # UTF-8 support
15 RUN apt-get install -y coreutils locales && \
16 sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
17 locale-gen && \
18 dpkg-reconfigure --frontend=noninteractive locales && \
19 update-locale LANG=en_US.UTF-8
20  
21 # Install node-js
22 RUN curl -fsSL https://deb.nodesource.com/setup_current.x | bash - && \
23 apt-get install -y nodejs && \
24 node --version && npm --version
25  
26 # install airdcpp
27 WORKDIR /opt
28 RUN curl -fLs https://web-builds.airdcpp.net/stable/airdcpp_2.12.1_webui-2.12.0_64-bit_portable.tar.gz -o airdcpp_2.12.1_webui-2.12.0_64-bit_portable.tar.gz && \
29 tar -xpvf airdcpp_2.12.1_webui-2.12.0_64-bit_portable.tar.gz && \
30 rm airdcpp_2.12.1_webui-2.12.0_64-bit_portable.tar.gz && \
31 ls -lR
32  
33 # cleanup
34 RUN apt-get autoremove -y
35  
36 # add the filesystem
37 ADD rootfs /
38  
39 # expose ports
40 EXPOSE 5600 5601 21248 21248/udp 21249
41  
42 ENTRYPOINT [ "/opt/airdcpp-webclient/airdcppd" ]