Skip to content

Commit

Permalink
yaml add redis target
Browse files Browse the repository at this point in the history
Signed-off-by: caimingxia <[email protected]>
  • Loading branch information
MandssS authored and tiny-x committed May 18, 2023
1 parent b76d5e8 commit 05002db
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions build/image/musl/Dockerfile
Original file line number Diff line number Diff line change
@@ -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" ]

0 comments on commit 05002db

Please sign in to comment.