Run update.sh
This commit is contained in:
parent
39c5a9db41
commit
18e6f413d4
|
|
@ -61,22 +61,22 @@ WARNING:
|
||||||
Use like you would any other base image:
|
Use like you would any other base image:
|
||||||
|
|
||||||
```dockerfile
|
```dockerfile
|
||||||
FROM alpine:3.3
|
FROM alpine:3.5
|
||||||
RUN apk add --no-cache mysql-client
|
RUN apk add --no-cache mysql-client
|
||||||
ENTRYPOINT ["mysql"]
|
ENTRYPOINT ["mysql"]
|
||||||
```
|
```
|
||||||
|
|
||||||
This example has a virtual image size of only 16 MB. Compare that to our good friend Ubuntu:
|
This example has a virtual image size of only 36.5MB. Compare that to our good friend Ubuntu:
|
||||||
|
|
||||||
```dockerfile
|
```dockerfile
|
||||||
FROM ubuntu:14.04
|
FROM ubuntu:16.04
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y 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 232 MB image.
|
This yields us a virtual image size of about 184MB image.
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,10 +16,11 @@ WARNING:
|
||||||
|
|
||||||
# Supported tags and respective `Dockerfile` links
|
# Supported tags and respective `Dockerfile` links
|
||||||
|
|
||||||
- [`14.04.5`, `14.04`, `trusty-20170330`, `trusty` (*trusty/Dockerfile*)](https://github.com/tianon/docker-brew-ubuntu-core/blob/8ec739cf49ac7fb7517d9ba97b04216dc8d8459b/trusty/Dockerfile)
|
- [`17.10`, `artful-20170511.1`, `artful`, `devel` (*artful/Dockerfile*)](https://github.com/tianon/docker-brew-ubuntu-core/blob/fb06b03251856d9a3c143332398512b3895e33b6/artful/Dockerfile)
|
||||||
- [`16.04`, `xenial-20170417.1`, `xenial`, `latest` (*xenial/Dockerfile*)](https://github.com/tianon/docker-brew-ubuntu-core/blob/8ec739cf49ac7fb7517d9ba97b04216dc8d8459b/xenial/Dockerfile)
|
- [`14.04.5`, `14.04`, `trusty-20170330`, `trusty` (*trusty/Dockerfile*)](https://github.com/tianon/docker-brew-ubuntu-core/blob/fb06b03251856d9a3c143332398512b3895e33b6/trusty/Dockerfile)
|
||||||
- [`16.10`, `yakkety-20170327`, `yakkety` (*yakkety/Dockerfile*)](https://github.com/tianon/docker-brew-ubuntu-core/blob/8ec739cf49ac7fb7517d9ba97b04216dc8d8459b/yakkety/Dockerfile)
|
- [`16.04`, `xenial-20170510`, `xenial`, `latest` (*xenial/Dockerfile*)](https://github.com/tianon/docker-brew-ubuntu-core/blob/fb06b03251856d9a3c143332398512b3895e33b6/xenial/Dockerfile)
|
||||||
- [`17.04`, `zesty-20170411`, `zesty`, `rolling` (*zesty/Dockerfile*)](https://github.com/tianon/docker-brew-ubuntu-core/blob/8ec739cf49ac7fb7517d9ba97b04216dc8d8459b/zesty/Dockerfile)
|
- [`16.10`, `yakkety-20170327`, `yakkety` (*yakkety/Dockerfile*)](https://github.com/tianon/docker-brew-ubuntu-core/blob/fb06b03251856d9a3c143332398512b3895e33b6/yakkety/Dockerfile)
|
||||||
|
- [`17.04`, `zesty-20170411`, `zesty`, `rolling` (*zesty/Dockerfile*)](https://github.com/tianon/docker-brew-ubuntu-core/blob/fb06b03251856d9a3c143332398512b3895e33b6/zesty/Dockerfile)
|
||||||
|
|
||||||
# Quick reference
|
# Quick reference
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue