Fish Wang says to YSITD
如果這時候curl更新了,而你想要裝新版本呢? 假設你改成這樣 RUN apt-get update -y; # 從前面 生成image [0] RUN apt-get install curl@另一個版本; # 從 image [0] 開始,把結果輸出為 image [1] 那會怎樣?