This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch refactor-with-go
in repository https://gitbox.apache.org/repos/asf/dubbo-admin.git
The following commit(s) were added to refs/heads/refactor-with-go by this push:
new e28d399 Update dockerfile
e28d399 is described below
commit e28d39972de4491f68176b678b07607245d67879
Author: Albumen Kevin <[email protected]>
AuthorDate: Tue Feb 28 10:26:26 2023 +0800
Update dockerfile
---
ca/Dockerfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ca/Dockerfile b/ca/Dockerfile
index 04b0778..f34992d 100644
--- a/ca/Dockerfile
+++ b/ca/Dockerfile
@@ -1,6 +1,6 @@
-FROM golang:1.20.1 as builder
+FROM golang:1.20.1-alpine3.17 as builder
-RUN apt-get update && apt-get install -y gcc libc-dev upx ca-certificates &&
update-ca-certificates
+RUN apk --update add gcc libc-dev upx ca-certificates && update-ca-certificates
ADD . /workspace