Browse Source

Update example

J0WI 4 năm trước cách đây
mục cha
commit
6d2a399573
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      alpine/content.md

+ 2 - 2
alpine/content.md

@@ -11,7 +11,7 @@
 Use like you would any other base image:
 
 ```dockerfile
-FROM %%IMAGE%%:3.7
+FROM %%IMAGE%%:3.14
 RUN apk add --no-cache mysql-client
 ENTRYPOINT ["mysql"]
 ```
@@ -19,7 +19,7 @@ ENTRYPOINT ["mysql"]
 This example has a virtual image size of only 36.8MB. Compare that to our good friend Ubuntu:
 
 ```dockerfile
-FROM ubuntu:18.04
+FROM ubuntu:20.04
 RUN apt-get update \
     && apt-get install -y --no-install-recommends mysql-client \
     && rm -rf /var/lib/apt/lists/*