Charan5775 commited on
Commit
142822f
·
verified ·
1 Parent(s): be1dcdc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -4
Dockerfile CHANGED
@@ -1,10 +1,17 @@
1
  FROM diegosouzapw/omniroute:latest
2
 
 
3
  RUN apt-get update && \
4
- apt-get install -y wget && \
5
- wget -O /usr/local/bin/cloudflared \
6
- https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 && \
7
- chmod +x /usr/local/bin/cloudflared
 
 
 
 
 
 
8
 
9
  COPY start.sh /start.sh
10
  RUN chmod +x /start.sh
 
1
  FROM diegosouzapw/omniroute:latest
2
 
3
+ # Install dependencies
4
  RUN apt-get update && \
5
+ apt-get install -y curl ca-certificates gnupg && \
6
+ mkdir -p --mode=0755 /usr/share/keyrings && \
7
+ curl -fsSL https://pkg.cloudflare.com/cloudflare-main.gpg \
8
+ -o /usr/share/keyrings/cloudflare-main.gpg && \
9
+ echo "deb [signed-by=/usr/share/keyrings/cloudflare-main.gpg] https://pkg.cloudflare.com/cloudflared any main" \
10
+ > /etc/apt/sources.list.d/cloudflared.list && \
11
+ apt-get update && \
12
+ apt-get install -y cloudflared && \
13
+ apt-get clean && \
14
+ rm -rf /var/lib/apt/lists/*
15
 
16
  COPY start.sh /start.sh
17
  RUN chmod +x /start.sh