sft0farid commited on
Commit
b43249c
·
verified ·
1 Parent(s): 117c57d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -14,9 +14,8 @@ RUN apt-get update && apt-get install -y curl jq gnupg supervisor \
14
  && apt-get install -y nodejs \
15
  && rm -rf /var/lib/apt/lists/*
16
 
17
- # 2. zrok (latest)
18
- RUN ZROK_VERSION=$(curl -fsSL https://api.github.com/repos/openziti/zrok/releases/latest | jq -r .tag_name) \
19
- && ARCH=$(dpkg --print-architecture) \
20
  && case "$ARCH" in \
21
  amd64) GOARCH=amd64 ;; \
22
  arm64) GOARCH=arm64 ;; \
@@ -24,7 +23,7 @@ RUN ZROK_VERSION=$(curl -fsSL https://api.github.com/repos/openziti/zrok/release
24
  *) echo "Unsupported arch: $ARCH"; exit 1 ;; \
25
  esac \
26
  && curl -fsSL \
27
- "https://github.com/openziti/zrok/releases/download/${ZROK_VERSION}/zrok_${ZROK_VERSION#v}_linux_${GOARCH}.tar.gz" \
28
  | tar -xz -C /usr/local/bin zrok \
29
  && chmod +x /usr/local/bin/zrok
30
 
 
14
  && apt-get install -y nodejs \
15
  && rm -rf /var/lib/apt/lists/*
16
 
17
+ # 2. zrok v1.1.11
18
+ RUN ARCH=$(dpkg --print-architecture) \
 
19
  && case "$ARCH" in \
20
  amd64) GOARCH=amd64 ;; \
21
  arm64) GOARCH=arm64 ;; \
 
23
  *) echo "Unsupported arch: $ARCH"; exit 1 ;; \
24
  esac \
25
  && curl -fsSL \
26
+ "https://github.com/openziti/zrok/releases/download/v1.1.11/zrok_1.1.11_linux_${GOARCH}.tar.gz" \
27
  | tar -xz -C /usr/local/bin zrok \
28
  && chmod +x /usr/local/bin/zrok
29