Update example

This commit is contained in:
J0WI 2021-06-16 03:10:55 +02:00
parent 5a53eade97
commit 6d2a399573
1 changed files with 2 additions and 2 deletions

View File

@ -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/*