blob: 19f44d90b95ac4683c8a9edbeebf800900c70cce [file] [log] [blame]
vamshi.nemalikonda4df18682018-03-08 08:06:20 +00001FROM alpine:3.7
vamshi.nemalikonda4df18682018-03-08 08:06:20 +00002
Kiran Kamineni6e8ef8a2018-03-20 15:12:13 -07003LABEL name="aaf-sms"
Manjunath Ranganathaiahc0b515d2019-04-10 10:57:46 -07004LABEL version=4.0.0
vamshi.nemalikonda4df18682018-03-08 08:06:20 +00005LABEL maintainer="vamshi krishna <vn00480215@techmahindra.com>"
6
Kiran Kamineni6e8ef8a2018-03-20 15:12:13 -07007EXPOSE 10443
ChrisC172045b2020-03-17 14:18:38 +01008RUN addgroup aaf && adduser -H -D -g "" -G aaf aaf && \
9 mkdir -p /sms/auth && \
Manjunath Ranganathaiah516213f2020-06-05 09:18:55 -070010 mkdir -p /sms/certs && \
ChrisC172045b2020-03-17 14:18:38 +010011 chown -R aaf:aaf /sms
Kiran Kamineni6e8ef8a2018-03-20 15:12:13 -070012ADD sms /sms/bin/sms
13RUN chmod +x /sms/bin/sms
Kiran Kamineni513d6ba2018-10-05 11:33:50 -070014ADD preload /sms/bin/preload
15RUN chmod +x /sms/bin/preload
ChrisC172045b2020-03-17 14:18:38 +010016USER aaf
Kiran Kamineni56a620d2018-04-26 17:31:07 -070017WORKDIR /sms
Kiran Kamineni49fa1f02018-03-27 16:30:46 -070018ENTRYPOINT ["/sms/bin/sms"]