siemonster :: use Alpine image for backend/orborus as Scratch doesn't work correctly on Minikube
This commit is contained in:
@@ -8,7 +8,7 @@ RUN go get github.com/docker/docker/api/types github.com/docker/docker/api/types
|
||||
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o orborus .
|
||||
|
||||
from scratch
|
||||
FROM alpine:3.12
|
||||
COPY --from=builder /app/ /
|
||||
|
||||
CMD ["./orborus"]
|
||||
|
||||
Reference in New Issue
Block a user