Skip to content

Commit 205a4ac

Browse files
authored
Fix missing workdir when switching to distroless image. (#112)
This breaks the initdb process and exisisting deployments because the directory path is defined relative and not absolute.
1 parent 47837e8 commit 205a4ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ RUN apk -U add curl \
77
&& chmod +x /bin/grpc_health_probe
88

99
FROM gcr.io/distroless/static-debian12:nonroot
10+
WORKDIR /
1011
COPY --from=health-downloader /bin/grpc_health_probe /bin/grpc_health_probe
1112
COPY bin/server /masterdata-api
1213
CMD ["/masterdata-api"]

0 commit comments

Comments
 (0)