Skip to content

Commit b66bb08

Browse files
committed
Use ash not bash
1 parent eefc548 commit b66bb08

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

openid-connect-provider-debugger/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM openresty/openresty:1.27.1.1-alpine-fat@sha256:aa8ea52fa35a296558aed8b392fb
33

44
ARG LUA_RESTY_OPENIDC_VERSION="1.7.6"
55

6-
SHELL ["/bin/bash", "-euo", "pipefail", "-c"]
6+
SHELL ["/bin/ash", "-euo", "pipefail", "-c"]
77

88
HEALTHCHECK CMD ["/usr/bin/curl", "-i", "-s", "-S", "-f", "http://localhost"]
99

openid-connect-provider-debugger/Dockerfile-test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARG USER_HOME=/home/default
99
ARG USER_ID=1000
1010
ARG USER_GECOS=Default
1111

12-
SHELL ["/bin/bash", "-euo", "pipefail", "-c"]
12+
SHELL ["/bin/ash", "-euo", "pipefail", "-c"]
1313

1414
RUN apk -U upgrade \
1515
&& apk add \
@@ -34,4 +34,4 @@ USER "${USER_NAME}"
3434
WORKDIR "${HOME}"
3535

3636
# sleep 60s to make sure that container survived its own healthcheck
37-
CMD ["/bin/bash", "-euo", "pipefail", "-c", "/bin/sleep 60 ; /usr/bin/curl -i -s -S -f http://openid-connect-provider-debugger"]
37+
CMD ["/bin/ash", "-euo", "pipefail", "-c", "/bin/sleep 60 ; /usr/bin/curl -i -s -S -f http://openid-connect-provider-debugger"]

0 commit comments

Comments
 (0)