diff --git a/Dockerfile b/Dockerfile index 287549bd..2aba5953 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,11 +12,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM alpine +FROM gcr.io/distroless/static:latest LABEL maintainers="Kubernetes Authors" LABEL description="NFS subdir external provisioner" ARG binary=./bin/nfs-subdir-external-provisioner -RUN apk update --no-cache && apk add ca-certificates COPY ${binary} /nfs-subdir-external-provisioner ENTRYPOINT ["/nfs-subdir-external-provisioner"]