mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-19 00:32:34 +01:00
alpine: force all packages to be upgraded
From http://wiki.alpinelinux.org/wiki/Upgrading_Alpine > The `--available` switch is used to force all packages to be upgraded, > even if they have the same version numbers. > Sometimes changes in uClibc require doing this. It seems prudent to demonstrate canonical upgrade procedure in a security tool. Signed-off-by: Paul Morgan <jumanjiman@gmail.com>
This commit is contained in:
parent
dafd938d19
commit
53fe0c948e
1 changed files with 2 additions and 1 deletions
|
@ -4,8 +4,9 @@ FROM alpine:3.2
|
|||
|
||||
MAINTAINER dockerbench.com
|
||||
|
||||
# http://wiki.alpinelinux.org/wiki/Upgrading_Alpine
|
||||
RUN apk update && \
|
||||
apk upgrade && \
|
||||
apk upgrade --available && \
|
||||
apk --update add docker
|
||||
|
||||
RUN mkdir /docker-bench-security
|
||||
|
|
Loading…
Reference in a new issue