We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49ee4c1 commit f4ee7d3Copy full SHA for f4ee7d3
images/tests/Dockerfile
@@ -0,0 +1,21 @@
1
+# Use the official Go image as a base image
2
+FROM golang:1.21
3
+
4
+# Set the working directory inside the container
5
+WORKDIR /distributed-workloads
6
7
+# Copy the go mod and sum files
8
+COPY go.mod go.sum ./
9
10
+# Download all dependencies
11
+RUN go mod download && \
12
+ go install gotest.tools/gotestsum@latest
13
+ # go install github.com/jstemmer/go-junit-report/v2@latest
14
15
+WORKDIR /distributed-workloads/tests
16
17
+# Copy the source from the current directory to the working directory inside the container
18
+COPY tests/ .
19
20
+# Command to run the tests
21
+ENTRYPOINT [ "gotestsum"]
0 commit comments