From 4e5123f4bb0e99156d8a649b4669c751aa2ac3c2 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Fri, 5 Aug 2022 18:03:18 +0300 Subject: [PATCH] disable stack protector for 1.18 and 1.19 --- 1.18-3.13/Dockerfile | 2 +- 1.19-3.13/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/1.18-3.13/Dockerfile b/1.18-3.13/Dockerfile index c26149e..8ac8236 100644 --- a/1.18-3.13/Dockerfile +++ b/1.18-3.13/Dockerfile @@ -22,7 +22,7 @@ RUN set -eux; \ export GOARCH='arm64' GOOS='linux'; \ ;; \ 'x86') \ - export GOARCH='386' GOOS='linux'; \ + export GOARCH='386' GOOS='linux' CGO_CFLAGS="-fno-stack-protector"; \ ;; \ 'ppc64le') \ export GOARCH='ppc64le' GOOS='linux'; \ diff --git a/1.19-3.13/Dockerfile b/1.19-3.13/Dockerfile index e2e842c..374b2b8 100644 --- a/1.19-3.13/Dockerfile +++ b/1.19-3.13/Dockerfile @@ -22,7 +22,7 @@ RUN set -eux; \ export GOARCH='arm64' GOOS='linux'; \ ;; \ 'x86') \ - export GOARCH='386' GOOS='linux'; \ + export GOARCH='386' GOOS='linux' CGO_CFLAGS="-fno-stack-protector"; \ ;; \ 'ppc64le') \ export GOARCH='ppc64le' GOOS='linux'; \