|
|
|
@ -1,8 +1,10 @@
@@ -1,8 +1,10 @@
|
|
|
|
|
FROM frolvlad/alpine-python2 |
|
|
|
|
|
|
|
|
|
RUN echo "http://dl-cdn.alpinelinux.org/alpine/v3.10/main" >> /etc/apk/repositories |
|
|
|
|
|
|
|
|
|
# install required packages |
|
|
|
|
#RUN apk add --no-cache gcc libc-dev libffi-dev openssl openssl-dev python3-dev |
|
|
|
|
RUN apk add --no-cache xapian-core xapian-bindings gcc libc-dev python3-dev xapian-core-dev |
|
|
|
|
RUN apk add --no-cache xapian-bindings-python |
|
|
|
|
|
|
|
|
|
# add user that will be used to install and run the application |
|
|
|
|
RUN addgroup -g 1000 deploy |
|
|
|
|