Browse Source

Update example

J0WI 4 years ago
parent
commit
6d2a399573
1 changed files with 2 additions and 2 deletions
  1. 2 2
      alpine/content.md

+ 2 - 2
alpine/content.md

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