File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
# syntax=docker/dockerfile:1
2
+ # check=skip=SecretsUsedInArgOrEnv
2
3
3
4
ARG ALPINE_VERSION=3.21
4
5
5
6
FROM ghcr.io/kjdev/nginx-auth-jwt/nginx AS auth-jwt
6
7
FROM ghcr.io/kjdev/nginx-keyval/nginx AS keyval
7
8
8
9
# ## nginx ###
9
- FROM alpine:${ALPINE_VERSION} as nginx
10
+ FROM alpine:${ALPINE_VERSION} AS nginx
10
11
11
12
RUN apk --no-cache upgrade \
12
13
&& apk --no-cache add \
@@ -22,7 +23,7 @@ RUN apk --no-cache upgrade \
22
23
&& rm -f /etc/nginx/http.d/default.conf \
23
24
&& mkdir -p /etc/nginx/conf.d \
24
25
&& mkdir -p /var/cache/nginx \
25
- && chown -R nginx. /etc/nginx/conf.d /etc/nginx/http.d /var/cache/nginx
26
+ && chown -R nginx:nginx /etc/nginx/conf.d /etc/nginx/http.d /var/cache/nginx
26
27
27
28
COPY --from=auth-jwt /usr/lib/nginx/modules/ngx_http_auth_jwt_module.so /usr/lib/nginx/modules/
28
29
COPY --from=auth-jwt /etc/nginx/modules/auth_jwt.conf /etc/nginx/modules/
You can’t perform that action at this time.
0 commit comments