Quellcode durchsuchen

chore: use stable apt-get cli (#1970)

Signed-off-by: xjasonlyu <xjasonlyu@gmail.com>
Jason Lyu vor 1 Jahr
Ursprung
Commit
9490d6e1ad

+ 4 - 2
.github/dockerfile/Dockerfile.debian

@@ -15,9 +15,11 @@
 FROM debian:stretch
 FROM debian:stretch
 
 
 ARG GO_VERSION
 ARG GO_VERSION
+ARG DEBIAN_FRONTEND="noninteractive"
 
 
-RUN apt update \
-    && apt install -y make wget git curl procps zip libucl-dev zlib1g-dev pkg-config libczmq-dev build-essential debhelper jq zip
+RUN apt-get update \
+    && apt-get install -y make wget git curl procps zip libucl-dev zlib1g-dev \
+    pkg-config libczmq-dev build-essential debhelper jq zip
 
 
 RUN case $(dpkg --print-architecture) in \
 RUN case $(dpkg --print-architecture) in \
         arm|armhf|armv7) \
         arm|armhf|armv7) \

+ 2 - 0
deploy/docker/Dockerfile-slim

@@ -26,6 +26,8 @@ FROM debian:buster-slim
 COPY ./deploy/docker/docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
 COPY ./deploy/docker/docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
 COPY --from=builder /go/kuiper/_build/kuiper-* /kuiper/
 COPY --from=builder /go/kuiper/_build/kuiper-* /kuiper/
 
 
+ARG DEBIAN_FRONTEND="noninteractive"
+
 RUN apt-get update \
 RUN apt-get update \
     && apt-get install -y wget \
     && apt-get install -y wget \
     && apt-get clean \
     && apt-get clean \

+ 2 - 0
deploy/docker/Dockerfile-slim-python

@@ -27,6 +27,8 @@ COPY --from=builder /go/kuiper/_build/kuiper-* /kuiper/
 COPY ./deploy/docker/docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
 COPY ./deploy/docker/docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
 COPY ./sdk/python /sdk/python
 COPY ./sdk/python /sdk/python
 
 
+ARG DEBIAN_FRONTEND="noninteractive"
+
 RUN apt-get update \
 RUN apt-get update \
     && apt-get install -y wget cmake libffi-dev git\
     && apt-get install -y wget cmake libffi-dev git\
     && apt-get clean \
     && apt-get clean \