Skip to content

Commit 8508334

Browse files
authored
fix(docker-buildkit): Make stage names lowercase (TeslaGov#84)
1 parent 8014cdc commit 8508334

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ARG NGINX_VERSION
22

33

4-
FROM debian:bullseye-slim as BASE_IMAGE
4+
FROM debian:bullseye-slim as base_image
55
LABEL stage=builder
66
RUN apt-get update \
77
&& apt-get install -y curl build-essential
88

99

10-
FROM BASE_IMAGE as BUILD_IMAGE
10+
FROM base_image as build_image
1111
LABEL stage=builder
1212
ENV LD_LIBRARY_PATH=/usr/local/lib
1313
ARG NGINX_VERSION
@@ -38,4 +38,4 @@ RUN apt-get update \
3838

3939
LABEL stage=
4040
LABEL maintainer="TeslaGov" email="[email protected]"
41-
COPY --from=BUILD_IMAGE /root/build/nginx/objs/ngx_http_auth_jwt_module.so /usr/lib64/nginx/modules/
41+
COPY --from=build_image /root/build/nginx/objs/ngx_http_auth_jwt_module.so /usr/lib64/nginx/modules/

0 commit comments

Comments
 (0)