Skip to content
This repository was archived by the owner on Mar 16, 2021. It is now read-only.

Commit 6171261

Browse files
authored
Merge pull request #7 from tparikh/dockerfile
added Dockerfile to build the container image
2 parents cf5747f + 40af40e commit 6171261

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright 2020 The Kubernetes Authors.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
FROM gcr.io/distroless/static:latest
15+
WORKDIR /
16+
COPY ./bin/ephemeral-csi-driver ephemeral-csi-driver
17+
ENTRYPOINT ["/ephemeral-csi-driver"]

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

22
build:
3-
go build -o bin/main main.go
3+
go build -o bin/ephemeral-csi-driver main.go

0 commit comments

Comments
 (0)