File tree Expand file tree Collapse file tree 5 files changed +0
-278
lines changed
Expand file tree Collapse file tree 5 files changed +0
-278
lines changed Original file line number Diff line number Diff line change 1010# Use lowercase to specify the release, for example: ARG MATLAB_RELEASE=r2024a
1111ARG MATLAB_RELEASE=r2024a
1212
13- # Stage 1: Build the mjshealthcheck executable
14- FROM golang:1.22.4 AS builder
15- WORKDIR /app
16- COPY healthcheck/ /app
17- RUN go version
18- RUN go mod tidy
19- RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o mjshealthcheck /app/main.go
20-
2113# When you start the build stage, by default this Dockerfile uses the Ubuntu-based matlab-deps image.
2214# To check the available matlab-deps images, see: https://hub.docker.com/r/mathworks/matlab-deps
2315FROM mathworks/matlab-deps:${MATLAB_RELEASE}
@@ -56,5 +48,3 @@ RUN wget -q https://www.mathworks.com/mpm/glnxa64/mpm \
5648 || (echo "MPM Installation Failure. See below for more information:" && cat /tmp/mathworks_root.log && false) \
5749 && sudo rm -rf mpm /tmp/mathworks_root.log
5850
59- # Add the mjshealthcheck binary
60- COPY --from=builder /app/mjshealthcheck /opt/matlab/toolbox/parallel/bin/glnxa64/mjshealthcheck
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments