Compare commits

..

7 Commits

Author SHA1 Message Date
ab23b35825 Update ubuntu Docker tag to v24
Some checks failed
Build/Push (master) / changes (pull_request) Has been cancelled
Build/Push (master) / build-docker (pull_request) Has been cancelled
2025-03-25 01:00:14 +00:00
b362934ce9 update dockerfile
Some checks are pending
Build/Push (master) / changes (push) Waiting to run
Build/Push (master) / build-docker (push) Blocked by required conditions
2025-03-25 01:54:48 +01:00
044a65a0d9 Revert "update ubuntu version"
Some checks are pending
Build/Push (master) / changes (push) Waiting to run
Build/Push (master) / build-docker (push) Blocked by required conditions
This reverts commit ce2f1a966e.
2025-03-25 01:45:06 +01:00
ce2f1a966e update ubuntu version
Some checks are pending
Build/Push (master) / changes (push) Waiting to run
Build/Push (master) / build-docker (push) Blocked by required conditions
2025-03-25 01:44:09 +01:00
28d1519e75 try to fix multiarch build
Some checks are pending
Build/Push (master) / changes (push) Waiting to run
Build/Push (master) / build-docker (push) Blocked by required conditions
2025-03-25 01:33:28 +01:00
69c54e53ae Merge remote-tracking branch 'upstream/master'
Some checks are pending
Build/Push (master) / changes (push) Waiting to run
Build/Push (master) / build-docker (push) Blocked by required conditions
2025-03-25 01:27:15 +01:00
10d57f7e8e update base ubuntu ver 2025-03-25 01:26:43 +01:00

View File

@@ -2,14 +2,20 @@ FROM ubuntu:24.04
ARG DEBIAN_FRONTEND="noninteractive"
RUN set -ex; \
apt-get update && \
apt-get -y install software-properties-common && \
# Install prerequisites and curl
RUN apt-get update && apt-get -y install curl software-properties-common && \
add-apt-repository -u ppa:deluge-team/stable && \
apt-get update && apt-get -y install dumb-init iputils-ping dnsutils bash jq net-tools openvpn curl ufw deluged deluge-web p7zip-full unrar unzip && \
echo "Cleanup"; \
apt-get update && \
# Download and install dumb-init manually based on architecture
arch=$(dpkg --print-architecture) && \
if [ "$arch" = "arm64" ]; then arch="aarch64"; fi && \
curl -Lo /tmp/dumb-init.deb "https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_${arch}.deb" && \
dpkg -i /tmp/dumb-init.deb && rm -f /tmp/dumb-init.deb && \
# Install other dependencies
apt-get -y install iputils-ping dnsutils bash jq net-tools openvpn curl ufw deluged deluge-web p7zip-full unrar unzip && \
echo "Cleanup" && \
rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* && \
echo "Adding user"; \
echo "Adding user" && \
groupmod -g 1000 users && \
useradd -u 911 -U -d /config -s /bin/false abc && \
usermod -G users abc
@@ -51,4 +57,4 @@ HEALTHCHECK --interval=1m CMD /etc/scripts/healthcheck.sh
# Deluge Deamon and web
EXPOSE 8112 58846
CMD ["dumb-init", "/etc/openvpn/init.sh"]
CMD ["/usr/local/bin/dumb-init", "/etc/openvpn/init.sh"]