diff options
Diffstat (limited to 'Dockerfile_i386')
-rw-r--r-- | Dockerfile_i386 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile_i386 b/Dockerfile_i386 index b5c6dd1..101135a 100644 --- a/Dockerfile_i386 +++ b/Dockerfile_i386 @@ -8,4 +8,4 @@ RUN linux32 sh -c 'yum install -y gcc git pam-devel \ && go get github.com/nmcclain/ldap' COPY src /root/go/src RUN linux32 sh -c 'cd /root/go/src \ - && go build -a pamldapd.go' + && env GOOS=linux GOARCH=386 go build -a -ldflags "-extldflags \"-Wl,--hash-style=both\"" -x pamldapd.go' |