vamshi.nemalikonda | 4df1868 | 2018-03-08 08:06:20 +0000 | [diff] [blame] | 1 | FROM alpine:3.7 |
vamshi.nemalikonda | 4df1868 | 2018-03-08 08:06:20 +0000 | [diff] [blame] | 2 | |
Kiran Kamineni | 6e8ef8a | 2018-03-20 15:12:13 -0700 | [diff] [blame] | 3 | LABEL name="aaf-sms" |
Manjunath Ranganathaiah | c0b515d | 2019-04-10 10:57:46 -0700 | [diff] [blame] | 4 | LABEL version=4.0.0 |
vamshi.nemalikonda | 4df1868 | 2018-03-08 08:06:20 +0000 | [diff] [blame] | 5 | LABEL maintainer="vamshi krishna <vn00480215@techmahindra.com>" |
| 6 | |
Kiran Kamineni | 6e8ef8a | 2018-03-20 15:12:13 -0700 | [diff] [blame] | 7 | EXPOSE 10443 |
ChrisC | 172045b | 2020-03-17 14:18:38 +0100 | [diff] [blame] | 8 | RUN addgroup aaf && adduser -H -D -g "" -G aaf aaf && \ |
| 9 | mkdir -p /sms/auth && \ |
Manjunath Ranganathaiah | 516213f | 2020-06-05 09:18:55 -0700 | [diff] [blame^] | 10 | mkdir -p /sms/certs && \ |
ChrisC | 172045b | 2020-03-17 14:18:38 +0100 | [diff] [blame] | 11 | chown -R aaf:aaf /sms |
Kiran Kamineni | 6e8ef8a | 2018-03-20 15:12:13 -0700 | [diff] [blame] | 12 | ADD sms /sms/bin/sms |
| 13 | RUN chmod +x /sms/bin/sms |
Kiran Kamineni | 513d6ba | 2018-10-05 11:33:50 -0700 | [diff] [blame] | 14 | ADD preload /sms/bin/preload |
| 15 | RUN chmod +x /sms/bin/preload |
ChrisC | 172045b | 2020-03-17 14:18:38 +0100 | [diff] [blame] | 16 | USER aaf |
Kiran Kamineni | 56a620d | 2018-04-26 17:31:07 -0700 | [diff] [blame] | 17 | WORKDIR /sms |
Kiran Kamineni | 49fa1f0 | 2018-03-27 16:30:46 -0700 | [diff] [blame] | 18 | ENTRYPOINT ["/sms/bin/sms"] |