From 05002db3756492657d88f671016f374fd6342064 Mon Sep 17 00:00:00 2001 From: caimingxia Date: Thu, 18 May 2023 21:02:23 +0800 Subject: [PATCH] yaml add redis target Signed-off-by: caimingxia --- build/image/musl/Dockerfile | 40 ++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/build/image/musl/Dockerfile b/build/image/musl/Dockerfile index c068140..c3bb227 100644 --- a/build/image/musl/Dockerfile +++ b/build/image/musl/Dockerfile @@ -1,20 +1,20 @@ -FROM golang:1.13.1 -LABEL maintainer="Changjun Xiao" - -# # The image is used to build chaosblade for musl -RUN wget http://www.musl-libc.org/releases/musl-1.1.21.tar.gz \ - && tar -zxvf musl-1.1.21.tar.gz \ - && rm musl-1.1.21.tar.gz \ - && cd musl* \ - && ./configure \ - && make \ - && make install \ - && rm -rf musl* - -RUN apt-get update \ - && apt-get install unzip - -ENV CC /usr/local/musl/bin/musl-gcc -ENV GOOS linux - -ENTRYPOINT [ "make" ] +FROM golang:1.17 +LABEL maintainer="Changjun Xiao" + +# # The image is used to build chaosblade for musl +RUN wget http://www.musl-libc.org/releases/musl-1.1.21.tar.gz \ + && tar -zxvf musl-1.1.21.tar.gz \ + && rm musl-1.1.21.tar.gz \ + && cd musl* \ + && ./configure \ + && make \ + && make install \ + && rm -rf musl* + +RUN apt-get update \ + && apt-get install unzip + +ENV CC /usr/local/musl/bin/musl-gcc +ENV GOOS linux + +ENTRYPOINT [ "make" ]