diff options
author | EC2 Default User <eisin@users.noreply.github.com> | 2018-07-01 18:39:16 +0200 |
---|---|---|
committer | EC2 Default User <eisin@users.noreply.github.com> | 2018-07-01 18:39:16 +0200 |
commit | c2aa3bc0e3cd126795863c73b6c6170f6c707370 (patch) | |
tree | 5ae21d99c01fe1c0b04be3804abb6072f451fb17 /Dockerfile_i386 | |
parent | Create LICENSE (diff) | |
download | pamldapd-0.1.tar pamldapd-0.1.tar.gz pamldapd-0.1.tar.bz2 pamldapd-0.1.tar.lz pamldapd-0.1.tar.xz pamldapd-0.1.tar.zst pamldapd-0.1.zip |
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' |