Update Alpine's Ubuntu example to 18.04

This commit is contained in:
Tianon Gravi 2018-05-22 13:04:05 -07:00
parent 0187d15389
commit 06f380c8f8
1 changed files with 2 additions and 2 deletions

View File

@ -19,14 +19,14 @@ 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:16.04 FROM ubuntu:18.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/*
ENTRYPOINT ["mysql"] ENTRYPOINT ["mysql"]
``` ```
This yields us a virtual image size of about 179MB image. This yields us a virtual image size of about 145MB image.
## Documentation ## Documentation