11 lines
392 B
Docker
Executable file
11 lines
392 B
Docker
Executable file
FROM pypy:3-slim
|
|
|
|
ADD start.sh /start.sh
|
|
RUN apt-get update \
|
|
&& apt-get install -y libxslt-dev libz-dev libxml2-dev gcc libemail-outlook-message-perl \
|
|
&& pip install -U parsedmarc \
|
|
&& apt-get purge --yes gcc && apt autoremove --yes && apt-get clean \
|
|
&& rm -Rf /var/lib/{apt,dpkg}/ && rm -Rf /root/.cache/ \
|
|
&& chmod +x /start.sh
|
|
|
|
ENTRYPOINT [ "/start.sh" ]
|