Skip to content

Commit

Permalink
dockerfile compose update <apt-get install -y libffi-dev>
Browse files Browse the repository at this point in the history
  • Loading branch information
byt3exec committed Oct 27, 2024
1 parent 2522a15 commit fce3f30
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
FROM gcc:latest
FROM python:3.11-slim

WORKDIR /usr/src/BlackMarlinExec
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
ENV PIP_NO_CACHE_DIR=off

COPY . .
WORKDIR /usr/src/blackmarlinexec

RUN apt-get update && \
apt-get install -y libffi-dev libxml2-dev libxslt-dev libssl-dev openssl autoconf g++ python3-dev curl git
RUN apt-get update
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN cargo --help

RUN apt-get update && apt-get install -y \
clang-format \
doxygen \
&& rm -rf /var/lib/apt/lists/*
COPY . .
RUN pip install .

RUN make all
ENTRYPOINT [ "blackmarlinexec" ]

0 comments on commit fce3f30

Please sign in to comment.