File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ ENV GOOS=linux
1010
1111COPY . /go/src/github.com/goodrain/rainbond
1212WORKDIR /go/src/github.com/goodrain/rainbond
13- RUN apk --no-cache add binutils-gold && go build -ldflags "-w -s -X github.com/goodrain/rainbond/cmd.version=$RELEASE_DESC" -o /run/rainbond-api ./cmd/api;
13+ RUN apk --no-cache add binutils-gold gcc musl-dev sqlite-dev && go build -ldflags "-w -s -X github.com/goodrain/rainbond/cmd.version=$RELEASE_DESC" -o /run/rainbond-api ./cmd/api;
1414
1515FROM ubuntu:24.04 AS compress
1616COPY --from=compile /run/rainbond-api /run/rainbond-api
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ ENV GOOS=linux
1010
1111COPY . /go/src/github.com/goodrain/rainbond
1212WORKDIR /go/src/github.com/goodrain/rainbond
13- RUN apk --no-cache add binutils-gold && go build -ldflags "-w -s -X github.com/goodrain/rainbond/cmd.version=$RELEASE_DESC" -o /run/rainbond-chaos ./cmd/builder;
13+ RUN apk --no-cache add binutils-gold gcc musl-dev sqlite-dev && go build -ldflags "-w -s -X github.com/goodrain/rainbond/cmd.version=$RELEASE_DESC" -o /run/rainbond-chaos ./cmd/builder;
1414
1515FROM ubuntu:24.04 AS compress
1616COPY --from=compile /run/rainbond-chaos /run/rainbond-chaos
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ ENV GOOS=linux
1010
1111COPY . /go/src/github.com/goodrain/rainbond
1212WORKDIR /go/src/github.com/goodrain/rainbond
13- RUN go build -ldflags "-w -s -X github.com/goodrain/rainbond/cmd.version=$RELEASE_DESC" -o /run/rainbond-init-probe ./cmd/init-probe;
13+ RUN apk --no-cache add gcc musl-dev sqlite-dev && go build -ldflags "-w -s -X github.com/goodrain/rainbond/cmd.version=$RELEASE_DESC" -o /run/rainbond-init-probe ./cmd/init-probe;
1414
1515FROM ubuntu:24.04 AS compress
1616COPY --from=compile /run/rainbond-init-probe /run/rainbond-init-probe
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ ENV GOOS=linux
1010
1111COPY . /go/src/github.com/goodrain/rainbond
1212WORKDIR /go/src/github.com/goodrain/rainbond
13- RUN apk --no-cache add binutils-gold && \
13+ RUN apk --no-cache add binutils-gold gcc musl-dev sqlite-dev && \
1414 go build -ldflags "-w -s -X github.com/goodrain/rainbond/cmd.version=$RELEASE_DESC" -o /run/rainbond-mq ./cmd/mq;
1515
1616FROM ubuntu:24.04 AS compress
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ ENV GOOS=linux
1111COPY . /go/src/github.com/goodrain/rainbond
1212WORKDIR /go/src/github.com/goodrain/rainbond
1313
14- RUN apk --no-cache add binutils-gold && go build -ldflags "-w -s -X github.com/goodrain/rainbond/cmd.version=$RELEASE_DESC" -o /run/rainbond-worker ./cmd/worker;
14+ RUN apk --no-cache add binutils-gold gcc musl-dev sqlite-dev && go build -ldflags "-w -s -X github.com/goodrain/rainbond/cmd.version=$RELEASE_DESC" -o /run/rainbond-worker ./cmd/worker;
1515
1616FROM ubuntu:24.04 AS compress
1717COPY --from=compile /run/rainbond-worker /run/rainbond-worker
You can’t perform that action at this time.
0 commit comments