mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-11 18:16:33 +02:00
docker: Don't build concurrently.
This fixes flaky builds on GitHub CI.
This commit is contained in:
parent
e83cdd67ad
commit
6d492e3bfd
|
@ -6,8 +6,8 @@ WORKDIR /workdir
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN apk add --no-cache bash git build-base protobuf && \
|
RUN apk add --no-cache bash git build-base protobuf && \
|
||||||
if [ -d "vendor" ]; then GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOPROXY=off make proxy -j$(nproc); else \
|
if [ -d "vendor" ]; then GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOPROXY=off make proxy; else \
|
||||||
GOOS=${TARGETOS} GOARCH=${TARGETARCH} make proxy -j$(nproc); fi
|
GOOS=${TARGETOS} GOARCH=${TARGETARCH} make proxy; fi
|
||||||
|
|
||||||
FROM alpine:3
|
FROM alpine:3
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,8 @@ WORKDIR /workdir
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN apk add --no-cache bash git build-base protobuf && \
|
RUN apk add --no-cache bash git build-base protobuf && \
|
||||||
if [ -d "vendor" ]; then GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOPROXY=off make server -j$(nproc); else \
|
if [ -d "vendor" ]; then GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOPROXY=off make server; else \
|
||||||
GOOS=${TARGETOS} GOARCH=${TARGETARCH} make server -j$(nproc); fi
|
GOOS=${TARGETOS} GOARCH=${TARGETARCH} make server; fi
|
||||||
|
|
||||||
FROM alpine:3
|
FROM alpine:3
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue