autobuild

This commit is contained in:
2023-09-07 16:04:06 +00:00
parent 262f3f126c
commit 017a60ac6c
3 changed files with 30 additions and 9 deletions

View File

@@ -1,16 +1,20 @@
FROM ubuntu
FROM ubuntu:jammy
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Moscow
RUN apt update && apt install -y apt-utils dnsutils && apt upgrade -y && apt install -y dante-server iproute2 iptables nano curl wget tini
ADD danted-init.sh /docker/init.sh
ADD docker-entrypoint.sh /docker/entrypoint.sh
ENTRYPOINT ["tini", "--"]
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/* && \
chmod 755 /*.sh
ADD danted-init.sh /danted-init.sh
ADD docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod 755 /*.sh
EXPOSE 1080
ENTRYPOINT ["tini", "--"]
STOPSIGNAL SIGINT
CMD ["/docker-entrypoint.sh"]
CMD ["bash", "/docker/entrypoint.sh"]