23 lines
544 B
Docker
23 lines
544 B
Docker
FROM ubuntu:noble
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ENV TZ=Europe/Moscow
|
|
ENV DATEVER=08072025
|
|
|
|
ADD danted-init.sh /docker/init.sh
|
|
ADD docker-entrypoint.sh /docker/entrypoint.sh
|
|
|
|
RUN apt update && \
|
|
apt install -y apt apt-utils dnsutils sudo && \
|
|
apt upgrade -y && \
|
|
apt install -y dante-server iproute2 iptables nano curl wget tini && \
|
|
apt autoremove --purge -y && apt clean -y && rm -rf /tmp/*
|
|
|
|
ADD danted.conf /etc/danted.conf
|
|
|
|
EXPOSE 1080
|
|
|
|
ENTRYPOINT ["tini", "--"]
|
|
STOPSIGNAL SIGINT
|
|
CMD ["bash", "/docker/entrypoint.sh"]
|