Skip to content

Commit 91e0d44

Browse files
committed
update Dockerfile
1 parent 9be7bee commit 91e0d44

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
ARG ENABLE_PROXY=false
21
ARG BASE_IMAGE_TAG=nonroot
32

43
FROM debian:bullseye-slim AS deps
54
WORKDIR /workspace
65

7-
ARG ADC_VERSION=0.19.0
86
ARG TARGETARCH
7+
ARG ADC_VERSION
98

109
RUN apt update \
1110
&& apt install -y wget \

Dockerfile.dev

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@ ARG ENABLE_PROXY=false
33
FROM node:22 AS node_builder
44

55
ARG TARGETARCH
6-
ARG ADC_COMMIT=e948079ed0576dbac29320ebfa01c9b7a298924c
76

87
WORKDIR /app
98

109
RUN apt update \
1110
&& apt install -y git \
1211
&& git clone --branch main https://github.com/api7/adc.git \
1312
&& cd adc \
14-
&& git checkout ${ADC_COMMIT} \
1513
&& corepack enable pnpm \
1614
&& pnpm install \
1715
&& NODE_ENV=production npx nx build cli \

0 commit comments

Comments
 (0)