You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/blobplugin/Dockerfile
+4-11Lines changed: 4 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -12,22 +12,15 @@
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
-
FROM golang:1.16.3-alpine3.13 as builder
16
-
WORKDIR /go/src/sigs.k8s.io/blob-csi-driver
17
-
ADD . .
18
-
ARG TARGETARCH
19
-
ARG TARGETOS
20
-
ARG LDFLAGS
21
-
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -a -ldflags "${LDFLAGS:--X sigs.k8s.io/blob-csi-driver/pkg/blob.driverVersion=latest}" -mod vendor -o _output/blobplugin ./pkg/blobplugin
15
+
ARG ARCH
22
16
23
-
FROM k8s.gcr.io/build-image/debian-base-amd64:v2.1.3
0 commit comments