Explorar el Código

Merge pull request #1977 from J0WI/update-alpine-example

Update Alpine example
yosifkit hace 4 años
padre
commit
427e118d55
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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/*