Skip to content

Commit 9450a10

Browse files
committed
Moove the last scripts to bash
(some where /bin/bash and other /bin/sh)
1 parent 55eda11 commit 9450a10

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
FROM alpine:3.18@sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978
1+
FROM alpine:3@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1
22

33
LABEL \
44
org.label-schema.name="docker-bench-security" \
55
org.label-schema.url="https://dockerbench.com" \
66
org.label-schema.vcs-url="https://github.com/docker/docker-bench-security.git"
77

88
RUN apk add --no-cache iproute2 \
9-
docker-cli \
10-
dumb-init \
11-
jq
9+
docker-cli \
10+
dumb-init \
11+
jq \
12+
bash
1213

1314
COPY . /usr/local/bin/
1415

1516
HEALTHCHECK CMD exit 0
1617

1718
WORKDIR /usr/local/bin
1819

19-
ENTRYPOINT [ "/usr/bin/dumb-init", "/bin/sh", "docker-bench-security.sh" ]
20+
ENTRYPOINT [ "/usr/bin/dumb-init", "/bin/bash", "docker-bench-security.sh" ]
2021
CMD [""]

functions/functions_lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
host_configuration() {
44
check_1

0 commit comments

Comments
 (0)