This repository has been archived on 2026-05-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
docker-old/ipnat/build/Dockerfile
T
2023-08-25 20:39:55 -07:00

34 lines
588 B
Docker

FROM debian:bullseye
USER root
# Install all packages
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update --yes && \
apt-get upgrade --yes && \
apt-get install --yes --no-install-recommends \
bash \
#tini \
locales \
iptables \
&& \
# Clean up and generate locales
apt-get clean && rm -rf /var/lib/apt/lists/* && \
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
locale-gen
# Requires cap-add NET_ADMIN NET_RAW
EXPOSE 33
EXPOSE 993
EXPOSE 587
COPY start.sh /start.sh
COPY iptables.sh /iptables.sh
#ENTRYPOINT ["tini", "-g", "--"]
ENTRYPOINT ["bash"]
CMD ["start.sh"]