Browse Source

Readme: Add section Create Docker Base Image

Jakub Jirutka 6 năm trước cách đây
mục cha
commit
cc8654f14c
1 tập tin đã thay đổi với 10 bổ sung0 xóa
  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].