Skip to content

Commit

Permalink
Add build dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
accolon committed Mar 4, 2024
1 parent 2c931fc commit 50c1f36
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions data/Dockerfiles/parsedmarc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ FROM pypy:3-slim

ADD start.sh /start.sh
RUN apt-get update \
&& apt-get install -y libxslt-dev libz-dev libxml2-dev libssl-dev gcc rustc libemail-outlook-message-perl \
&& pip install -U --no-cache-dir parsedmarc \
&& apt-get purge --yes gcc rustc && apt autoremove --yes && apt-get clean \
&& apt-get install -y \
python3-pip python3-dev libxml2-dev libxslt-dev libz-dev libxml2-dev libssl-dev \
gcc rustc libemail-outlook-message-perl python3-gi python3-gi-cairo \
gir1.2-secret-1
RUN pip install -U --no-cache-dir parsedmarc \
RUN apt-get purge --yes gcc rustc && apt autoremove --yes && apt-get clean \
&& rm -Rf /var/lib/{apt,dpkg}/ && rm -Rf /root/.cache/ && rm -Rf /root/.cargo/ \
&& chmod +x /start.sh

Expand Down

0 comments on commit 50c1f36

Please sign in to comment.