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 10
10
# Use lowercase to specify the release, for example: ARG MATLAB_RELEASE=r2024a
11
11
ARG MATLAB_RELEASE=r2024a
12
12
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
-
21
13
# When you start the build stage, by default this Dockerfile uses the Ubuntu-based matlab-deps image.
22
14
# To check the available matlab-deps images, see: https://hub.docker.com/r/mathworks/matlab-deps
23
15
FROM mathworks/matlab-deps:${MATLAB_RELEASE}
@@ -56,5 +48,3 @@ RUN wget -q https://www.mathworks.com/mpm/glnxa64/mpm \
56
48
|| (echo "MPM Installation Failure. See below for more information:" && cat /tmp/mathworks_root.log && false) \
57
49
&& sudo rm -rf mpm /tmp/mathworks_root.log
58
50
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