Update base image to `k8s.gcr.io/build-image/debian-base-amd64:v2.1.3`

Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
This commit is contained in:
Mayank Shah 2020-11-19 19:21:51 +05:30
parent bef4ee7dbb
commit 6323975b00
1 changed files with 2 additions and 2 deletions

View File

@ -12,11 +12,11 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
FROM centos:latest FROM k8s.gcr.io/build-image/debian-base-amd64:v2.1.3
# Copy nfsplugin from build _output directory # Copy nfsplugin from build _output directory
COPY bin/nfsplugin /nfsplugin COPY bin/nfsplugin /nfsplugin
RUN yum -y install nfs-utils epel-release jq && yum clean all RUN apt update && apt install -y nfs-common jq || true
ENTRYPOINT ["/nfsplugin"] ENTRYPOINT ["/nfsplugin"]