privateone commited on
Commit
4e19f8b
·
verified ·
1 Parent(s): d50b1cc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -6
Dockerfile CHANGED
@@ -6,12 +6,18 @@ USER root
6
  # Install dependencies: coturn, openssl, curl (for ngrok install), bash, socat
7
  RUN apk add --no-cache coturn openssl curl bash
8
 
9
- # Download and install ngrok (latest Linux amd64)
10
- RUN curl -s https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-v3-stable-linux-amd64.zip -o /tmp/ngrok.zip \
11
- && unzip /tmp/ngrok.zip -d /usr/local/bin \
12
- && rm /tmp/ngrok.zip \
13
- && chmod +x /usr/local/bin/ngrok
14
-
 
 
 
 
 
 
15
 
16
  # Install socat and openssl for certificate generation
17
  RUN apk add --no-cache socat openssl
 
6
  # Install dependencies: coturn, openssl, curl (for ngrok install), bash, socat
7
  RUN apk add --no-cache coturn openssl curl bash
8
 
9
+ # # Download and install ngrok (latest Linux amd64)
10
+ # RUN curl -s https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-v3-stable-linux-amd64.zip -o /tmp/ngrok.zip \
11
+ # && unzip /tmp/ngrok.zip -d /usr/local/bin \
12
+ # && rm /tmp/ngrok.zip \
13
+ # && chmod +x /usr/local/bin/ngrok
14
+
15
+ RUN curl -sSL https://ngrok-agent.s3.amazonaws.com/ngrok.asc \
16
+ | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null \
17
+ && echo "deb https://ngrok-agent.s3.amazonaws.com buster main" \
18
+ | sudo tee /etc/apt/sources.list.d/ngrok.list \
19
+ && sudo apt update \
20
+ && sudo apt install ngrok
21
 
22
  # Install socat and openssl for certificate generation
23
  RUN apk add --no-cache socat openssl