Skip to content

Commit a75ba4c

Browse files
committed
update Dockerfile
1 parent 0b7a6ed commit a75ba4c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

v2/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Build the manager binary
2-
FROM golang:1.23.2 as builder
2+
FROM golang:1.23.2 AS builder
33

44
# Make sure we use go modules
5-
WORKDIR vcluster
5+
WORKDIR /vcluster
66

77
# Copy the Go Modules manifests
88
COPY . .
@@ -11,7 +11,7 @@ COPY . .
1111
RUN go mod vendor
1212

1313
# Build cmd
14-
RUN CGO_ENABLED=0 GO111MODULE=on go build -mod vendor -o /plugin main.go
14+
RUN CGO_ENABLED=0 go build -mod vendor -o /plugin main.go
1515

1616
# we use alpine for easier debugging
1717
FROM alpine

0 commit comments

Comments
 (0)