瀏覽代碼

Readme: Add section Create Docker Base Image

Jakub Jirutka 6 年之前
父節點
當前提交
cc8654f14c
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      README.adoc

+ 10 - 0
README.adoc

@@ -70,6 +70,16 @@ SHELL
 <7> Note that it’s not needed to clean `apk` cache, this is done automatically.
 
 
+=== Create Docker Base Image
+
+Create your own (customized) up-to-date base image.
+
+[source, sh]
+----
+sudo ./alpine-make-rootfs --branch v3.8 - | docker import -c 'CMD /bin/sh' - my/alpine:3.8
+----
+
+
 == License
 
 This project is licensed under http://opensource.org/licenses/MIT/[MIT License].