Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN java -cp /openapi/bin/openapi-native-mock-server.jar:/openapi/bin/openapi-ge
-i /openapi/$openapifile -o /openapi/go-server

# stage 1: build Go executable
FROM golang:1.22-alpine3.19
FROM golang:1.23-alpine3.19
COPY --from=0 /openapi/go-server ./go-server

WORKDIR /go/go-server
Expand Down
2 changes: 1 addition & 1 deletion DockerfileGo
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN java -cp /openapi/bin/openapi-native-mock-servers.jar:/openapi/bin/openapi-g
-i /openapi/openapi.yaml -o /openapi/go-server

# stage 1: build Go executable
FROM golang:1.22-alpine3.19
FROM golang:1.23-alpine3.19
COPY --from=0 /openapi/go-server ./go-server

WORKDIR /go/go-server
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/native-mock-server/Dockerfile.mustache
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.10 AS build
FROM golang:1.26 AS build
WORKDIR /go/src
COPY {{apiPath}} ./{{apiPath}}
COPY main.go .
Expand Down