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: 纪华裕 <[email protected]> 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
