summaryrefslogtreecommitdiffstats
path: root/Dockerfile_i386
diff options
context:
space:
mode:
authorEC2 Default User <eisin@users.noreply.github.com>2018-07-01 11:09:49 +0200
committerEC2 Default User <eisin@users.noreply.github.com>2018-07-01 11:09:49 +0200
commite9e73dea57eb126e1081f269071402381129545a (patch)
tree18c45a41e7b33aeef6051c955b4bc7f2de4ad237 /Dockerfile_i386
parentconfiguration example added (diff)
downloadpamldapd-e9e73dea57eb126e1081f269071402381129545a.tar
pamldapd-e9e73dea57eb126e1081f269071402381129545a.tar.gz
pamldapd-e9e73dea57eb126e1081f269071402381129545a.tar.bz2
pamldapd-e9e73dea57eb126e1081f269071402381129545a.tar.lz
pamldapd-e9e73dea57eb126e1081f269071402381129545a.tar.xz
pamldapd-e9e73dea57eb126e1081f269071402381129545a.tar.zst
pamldapd-e9e73dea57eb126e1081f269071402381129545a.zip
Diffstat (limited to 'Dockerfile_i386')
-rw-r--r--Dockerfile_i38611
1 files changed, 11 insertions, 0 deletions
diff --git a/Dockerfile_i386 b/Dockerfile_i386
new file mode 100644
index 0000000..b5c6dd1
--- /dev/null
+++ b/Dockerfile_i386
@@ -0,0 +1,11 @@
+FROM i386/centos:7
+ENV PATH $PATH:/usr/local/go/bin
+RUN linux32 sh -c 'yum install -y gcc git pam-devel \
+ && curl -o go1.10.3.linux-386.tar.gz https://dl.google.com/go/go1.10.3.linux-386.tar.gz \
+ && tar -C /usr/local -xzf go1.10.3.linux-386.tar.gz \
+ && go get github.com/msteinert/pam \
+ && go get github.com/nmcclain/asn1-ber \
+ && go get github.com/nmcclain/ldap'
+COPY src /root/go/src
+RUN linux32 sh -c 'cd /root/go/src \
+ && go build -a pamldapd.go'