-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.latest
More file actions
30 lines (23 loc) · 1015 Bytes
/
Dockerfile.latest
File metadata and controls
30 lines (23 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM ghcr.io/neomediatech/ubuntu-base:22.04
ENV VERSION=2.3.169 \
SERVICE=dcc \
REPO=dcc-docker \
USER_UID=1000 \
USER_GID=1000
LABEL org.opencontainers.image.source=https://github.com/Neomediatech/${REPO} \
org.opencontainers.package.name="${SERVICE}" \
org.opencontainers.package.version="${VERSION}" \
it.neomediatech.dcc.pkg-url="https://www.dcc-servers.net/dcc/source/old/"
# Download & Compile DCC
RUN apt-get -yq update && apt-get -y --no-install-recommends install \
gcc libc-dev make && \
curl https://www.dcc-servers.net/dcc/source/old/dcc-${VERSION}.tar.Z | tar xzf - -C /tmp && ls -l /tmp && \
cd /tmp/dcc-${VERSION} && ./configure --disable-dccm && make install && \
apt-get purge -yq binutils cpp gcc libc6-dev linux-libc-dev make && \
apt-get -y autoremove --purge && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/log/*
COPY dcc_conf /var/dcc/dcc_conf
COPY start.sh /
RUN chmod +x /start.sh
EXPOSE 10030
CMD ["/start.sh"]