diff --git a/docker/build/x86_64/Dockerfile b/docker/build/x86_64/Dockerfile index 174d6f022..cf47278e3 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 8195f2324..7692c9c28 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