rebuild docker image from specific step

后端 未结 7 1259
北荒
北荒 2020-12-23 12:50

I have the below Dockerfile.

FROM ubuntu:14.04
MAINTAINER Samuel Alexander 

RUN          


        
相关标签:
7条回答
  • 2020-12-23 13:14

    If place ARG INCUBATOR_VER=unknown at top, then cache will not be used in case of change of INCUBATOR_VER from command line (just tested the build). For me worked:

    # The rebuild starts from here
    ARG INCUBATOR_VER=unknown
    RUN INCUBATOR_VER=${INCUBATOR_VER} git clone https://github.com/apache/incubator-zeppelin.git
    
    0 讨论(0)
提交回复
热议问题