This is an automated email from the ASF dual-hosted git repository.

kvn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new 72e5338  chore: change the base image from alpine to ubuntu (#150)
72e5338 is described below

commit 72e53386de5aa88cac3284fa2982cc9b1642a31c
Author: Alex Zhang <[email protected]>
AuthorDate: Tue Jan 5 10:41:09 2021 +0800

    chore: change the base image from alpine to ubuntu (#150)
---
 Dockerfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 1e41add..a5ab138 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -25,12 +25,12 @@ WORKDIR /build
 COPY . .
 RUN GOPROXY=https://goproxy.io,direct make build
 
-FROM alpine:3.12.1
+FROM centos:centos7
 LABEL maintainer="[email protected]"
 
 WORKDIR /ingress-apisix
-RUN apk add --no-cache ca-certificates libc6-compat \
-    && update-ca-certificates \
+RUN yum -y install ca-certificates libc6-compat \
+    && update-ca-trust \
     && echo "hosts: files dns" > /etc/nsswitch.conf
 
 COPY --from=build-env /build/apisix-ingress-controller .

Reply via email to