LoremPizza commited on
Commit
3b7b56a
·
verified ·
1 Parent(s): ed11497

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -14,16 +14,16 @@ LABEL COMMIT_SHA=${COMMIT_SHA}
14
  COPY entrypoint.sh /entrypoint.sh
15
  COPY ./healthcheck /healthcheck
16
 
17
- # install dependencies
18
  RUN case ${TARGETPLATFORM} in \
19
- "linux/amd64") export ARCH="amd64" ;; \
20
- "linux/arm64") export ARCH="armv8" ;; \
21
  *) echo "Unsupported TARGETPLATFORM: ${TARGETPLATFORM}" && exit 1 ;; \
22
  esac && \
23
- echo "Building for ${ARCH} with GOST ${GOST_VERSION}" &&\
24
  apt-get update && \
25
  apt-get upgrade -y && \
26
- apt-get install -y curl gnupg lsb-release sudo jq ipcalc && \
27
  curl https://pkg.cloudflareclient.com/pubkey.gpg | gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg && \
28
  echo "deb [signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/cloudflare-client.list && \
29
  apt-get update && \
 
14
  COPY entrypoint.sh /entrypoint.sh
15
  COPY ./healthcheck /healthcheck
16
 
17
+ # Install dependencies
18
  RUN case ${TARGETPLATFORM} in \
19
+ "linux/amd64") export ARCH="amd64" ;; \
20
+ "linux/arm64") export ARCH="armv8" ;; \
21
  *) echo "Unsupported TARGETPLATFORM: ${TARGETPLATFORM}" && exit 1 ;; \
22
  esac && \
23
+ echo "Building for ${ARCH} with GOST ${GOST_VERSION}" && \
24
  apt-get update && \
25
  apt-get upgrade -y && \
26
+ apt-get install -y curl gnupg lsb-release sudo jq ipcalc file && \
27
  curl https://pkg.cloudflareclient.com/pubkey.gpg | gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg && \
28
  echo "deb [signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/cloudflare-client.list && \
29
  apt-get update && \