You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kvrocks.apache.org by ji...@apache.org on 2024/04/25 03:22:32 UTC
(kvrocks) branch docker-tidy created (now 87b3e109)
This is an automated email from the ASF dual-hosted git repository.
jihuayu pushed a change to branch docker-tidy
in repository https://gitbox.apache.org/repos/asf/kvrocks.git
at 87b3e109 tidy dockerfile to make sonarcloud happy
This branch includes the following new commits:
new 87b3e109 tidy dockerfile to make sonarcloud happy
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: tidy dockerfile to make sonarcloud happy
Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jihuayu pushed a commit to branch docker-tidy
in repository https://gitbox.apache.org/repos/asf/kvrocks.git
commit 87b3e109d403823320a4fc79fa679d520965b01b
Author: 纪华裕 <ji...@gmail.com>
AuthorDate: Thu Apr 25 11:22:23 2024 +0800
tidy dockerfile to make sonarcloud happy
---
Dockerfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 4ea544de..a3bcac0f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,11 +15,11 @@
# specific language governing permissions and limitations
# under the License.
-FROM alpine:3.16 as build
+FROM alpine:3.16 AS build
ARG MORE_BUILD_ARGS
-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
+RUN apk update && apk upgrade && apk --no-cache 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 update && apk upgrade && apk add libexecinfo
+RUN apk update && apk upgrade && apk --no-cache add libexecinfo
RUN mkdir /var/run/kvrocks
VOLUME /var/lib/kvrocks