Skip to content

Commit a1cc8aa

Browse files
authored
NGINX | x64 Architecture Dependency Fix (#5)
fix: added missing depdencies on x64 architectures
1 parent 9f4d1c8 commit a1cc8aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ RUN ./configure \
7777
RUN mkdir -p /var/cache/nginx/ /var/lib/nginx /etc/nginx/conf.d/ /usr/share/nginx/html
7878

7979
# Final stage
80-
FROM gcr.io/distroless/static:latest@sha256:69830f29ed7545c762777507426a412f97dad3d8d32bae3e74ad3fb6160917ea
80+
FROM gcr.io/distroless/static:latest
8181
ENV TZ="UTC"
8282

8383
# Copy necessary files from the build stage
@@ -104,6 +104,7 @@ COPY --from=build \
104104

105105
# Copy dynamic linker
106106
COPY --from=build /lib/*-linux-gnu/ld-linux*.so.* /lib/
107+
COPY --from=build /lib64/ld-linux-*.so.* /lib64/
107108

108109
COPY licenses/NGINX_LICENSE /usr/share/licenses/NGINX_LICENSE
109110
COPY configs/nginx.conf /etc/nginx/nginx.conf

0 commit comments

Comments
 (0)