mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-31 14:22:33 +01:00
53fe0c948e
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>
18 lines
389 B
Text
18 lines
389 B
Text
# REPOSITORY https://github.com/docker/docker-bench-security
|
|
|
|
FROM alpine:3.2
|
|
|
|
MAINTAINER dockerbench.com
|
|
|
|
# http://wiki.alpinelinux.org/wiki/Upgrading_Alpine
|
|
RUN apk update && \
|
|
apk upgrade --available && \
|
|
apk --update add docker
|
|
|
|
RUN mkdir /docker-bench-security
|
|
|
|
COPY . /docker-bench-security
|
|
|
|
WORKDIR /docker-bench-security
|
|
|
|
ENTRYPOINT ["/bin/sh", "docker-bench-security.sh"]
|