You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kvrocks.apache.org by al...@apache.org on 2024/03/06 12:48:18 UTC

(kvrocks) branch aleksraiden-patch-1 created (now f91d5274)

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

aleksraiden pushed a change to branch aleksraiden-patch-1
in repository https://gitbox.apache.org/repos/asf/kvrocks.git


      at f91d5274 Uniform image update/upgrade in Dockerfile

This branch includes the following new commits:

     new f91d5274 Uniform image update/upgrade in Dockerfile

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(kvrocks) 01/01: Uniform image update/upgrade in Dockerfile

Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aleksraiden pushed a commit to branch aleksraiden-patch-1
in repository https://gitbox.apache.org/repos/asf/kvrocks.git

commit f91d527482d291343154207c0a1c3a3ce15e11f6
Author: Aleks Lozovyuk <al...@gmail.com>
AuthorDate: Wed Mar 6 15:48:14 2024 +0300

    Uniform image update/upgrade in Dockerfile
    
    We are having an inconsistent update a build and runned image at Docker. In one place we use apk update (but not upgrade), in the other place - only upgrade (without pervious   update).
    
    This PR fix both of them.
---
 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