update dockerfile
This commit is contained in:
@@ -9,8 +9,8 @@ RUN apt-get update && apt-get -y install curl software-properties-common && \
|
|||||||
# Download and install dumb-init manually based on architecture
|
# Download and install dumb-init manually based on architecture
|
||||||
arch=$(dpkg --print-architecture) && \
|
arch=$(dpkg --print-architecture) && \
|
||||||
if [ "$arch" = "arm64" ]; then arch="aarch64"; fi && \
|
if [ "$arch" = "arm64" ]; then arch="aarch64"; fi && \
|
||||||
curl -Lo /usr/local/bin/dumb-init "https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_${arch}" && \
|
curl -Lo /tmp/dumb-init.deb "https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_${arch}.deb" && \
|
||||||
chmod +x /usr/local/bin/dumb-init && \
|
dpkg -i /tmp/dumb-init.deb && rm -f /tmp/dumb-init.deb && \
|
||||||
# Install other dependencies
|
# Install other dependencies
|
||||||
apt-get -y install iputils-ping dnsutils bash jq net-tools openvpn curl ufw deluged deluge-web p7zip-full unrar unzip && \
|
apt-get -y install iputils-ping dnsutils bash jq net-tools openvpn curl ufw deluged deluge-web p7zip-full unrar unzip && \
|
||||||
echo "Cleanup" && \
|
echo "Cleanup" && \
|
||||||
|
Reference in New Issue
Block a user