mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
use opensuse/leap, and remove awk linkage
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
0307da4c61
commit
9f92e46df8
1 changed files with 6 additions and 8 deletions
|
@ -1,15 +1,13 @@
|
||||||
# REPOSITORY https://github.com/docker/docker-bench-security
|
# REPOSITORY https://github.com/docker/docker-bench-security
|
||||||
|
FROM opensuse/leap:latest
|
||||||
|
|
||||||
FROM opensuse
|
RUN zypper -n in audit docker iproute2 && \
|
||||||
|
mkdir /docker-bench-security && \
|
||||||
MAINTAINER security@suse.com
|
rm /usr/bin/awk && \
|
||||||
|
cp /usr/bin/gawk /usr/bin/awk
|
||||||
RUN zypper -n in docker iproute2 audit
|
|
||||||
|
|
||||||
RUN mkdir /docker-bench-security
|
|
||||||
|
|
||||||
COPY . /docker-bench-security
|
COPY . /docker-bench-security
|
||||||
|
|
||||||
WORKDIR /docker-bench-security
|
WORKDIR /docker-bench-security
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/sh", "docker-bench-security.sh"]
|
ENTRYPOINT ["/bin/bash", "docker-bench-security.sh"]
|
||||||
|
|
Loading…
Reference in a new issue