diff --git a/docker/build/x86_64/Dockerfile b/docker/build/x86_64/Dockerfile index 174d6f022fb..cf47278e31d 100644 --- a/docker/build/x86_64/Dockerfile +++ b/docker/build/x86_64/Dockerfile @@ -28,7 +28,7 @@ COPY --from=frontend /stash /stash/ RUN make generate-backend ARG GITHASH ARG STASH_VERSION -RUN make stash-release +RUN make flags-release flags-pie stash # Final Runnable Image FROM alpine:latest diff --git a/docker/build/x86_64/Dockerfile-CUDA b/docker/build/x86_64/Dockerfile-CUDA index 8195f2324c9..7692c9c28c0 100644 --- a/docker/build/x86_64/Dockerfile-CUDA +++ b/docker/build/x86_64/Dockerfile-CUDA @@ -28,7 +28,7 @@ COPY --from=frontend /stash /stash/ RUN make generate-backend ARG GITHASH ARG STASH_VERSION -RUN make stash-release +RUN make flags-release flags-pie stash # Final Runnable Image FROM nvidia/cuda:12.0.1-base-ubuntu22.04