mirror of
https://github.com/Neur0toxine/docker-golang-alpine.git
synced 2024-11-25 06:26:06 +03:00
disable stack protector for 1.18 and 1.19
This commit is contained in:
parent
3e135854ed
commit
4e5123f4bb
@ -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'; \
|
||||
|
@ -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'; \
|
||||
|
Loading…
Reference in New Issue
Block a user