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

hulk pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git


The following commit(s) were added to refs/heads/unstable by this push:
     new 1c21a909 Uniform image update/upgrade in Dockerfile (#2138)
1c21a909 is described below

commit 1c21a909e2d1d461d2520fd7b3944ec40d7b7282
Author: Aleks Lozovyuk <[email protected]>
AuthorDate: Wed Mar 6 15:59:40 2024 +0200

    Uniform image update/upgrade in Dockerfile (#2138)
---
 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index e38a9f02..4ea544de 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,7 +19,7 @@ FROM alpine:3.16 as build
 
 ARG MORE_BUILD_ARGS
 
-RUN apk update && apk add git gcc g++ make cmake ninja autoconf automake 
libtool python3 linux-headers curl openssl-dev libexecinfo-dev redis
+RUN apk update && apk upgrade && apk add git gcc g++ make cmake ninja autoconf 
automake libtool python3 linux-headers curl openssl-dev libexecinfo-dev redis
 WORKDIR /kvrocks
 
 COPY . .
@@ -27,7 +27,7 @@ RUN ./x.py build -DENABLE_OPENSSL=ON -DPORTABLE=1 
-DCMAKE_BUILD_TYPE=Release -j
 
 FROM alpine:3.16
 
-RUN apk upgrade && apk add libexecinfo
+RUN apk update && apk upgrade && apk add libexecinfo
 RUN mkdir /var/run/kvrocks
 
 VOLUME /var/lib/kvrocks

Reply via email to