mirror of
https://github.com/clearlinux/docs.git
synced 2026-10-03 15:48:30 +00:00
Merge pull request #591 from mcornella/patch-1
Update apk install pattern to use `--no-cache'
This commit is contained in:
+2
-2
@@ -11,8 +11,8 @@
|
||||
Use like you would any other base image:
|
||||
|
||||
```dockerfile
|
||||
FROM alpine:3.1
|
||||
RUN apk add --update mysql-client && rm -rf /var/cache/apk/*
|
||||
FROM alpine:3.3
|
||||
RUN apk add --no-cache mysql-client
|
||||
ENTRYPOINT ["mysql"]
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user