Skip to content

Commit c5882b0

Browse files
fix Docker warnings
1 parent 272c02e commit c5882b0

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

nginx.dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
ARG BASE_IMAGE
22
ARG NGINX_VERSION
33

4-
5-
FROM ${BASE_IMAGE} as ngx_http_auth_jwt_builder_base
4+
FROM ${BASE_IMAGE} AS ngx_http_auth_jwt_builder_base
65
LABEL stage=ngx_http_auth_jwt_builder
76
RUN <<`
87
apt-get update
98
apt-get install -y curl build-essential
109
`
1110

12-
13-
FROM ngx_http_auth_jwt_builder_base as ngx_http_auth_jwt_builder_module
11+
FROM ngx_http_auth_jwt_builder_base AS ngx_http_auth_jwt_builder_module
1412
LABEL stage=ngx_http_auth_jwt_builder
1513
ENV PATH "${PATH}:/etc/nginx"
1614
ENV LD_LIBRARY_PATH=/usr/local/lib

test/test-nginx.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG BASE_IMAGE
22
ARG PORT
33
ARG SSL_PORT
44

5-
FROM ${BASE_IMAGE} as NGINX
5+
FROM ${BASE_IMAGE} AS NGINX
66
ARG PORT
77
ARG SSL_PORT
88
COPY etc/ /etc/

0 commit comments

Comments
 (0)