-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dockerfile compose update <apt-get install -y libffi-dev>
- Loading branch information
Showing
1 changed file
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ] |