Skip to content

Commit f208370

Browse files
committed
Ensure that the modules aren't being updated.
1 parent ac214b3 commit f208370

File tree

3 files changed

+40
-2
lines changed

3 files changed

+40
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM openshift/origin-release:golang-1.15 AS build
22
WORKDIR /go/src
33
COPY . /go/src
44
RUN GIT_COMMIT=$(git rev-parse HEAD) && \
5-
CGO_ENABLED=0 GOOS=linux go build -a \
5+
CGO_ENABLED=0 GOOS=linux go build -a -mod=readonly \
66
-ldflags "-X github.com/redhat-developer/gitops-backend/pkg/health.GitRevision=${GIT_COMMIT}" ./cmd/backend-http
77

88
FROM registry.access.redhat.com/ubi8/ubi-minimal

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/redhat-developer/gitops-backend
22

3-
go 1.14
3+
go 1.15
44

55
require (
66
github.com/emicklei/go-restful v2.12.0+incompatible // indirect

0 commit comments

Comments
 (0)