Skip to content

Commit

Permalink
cpuonly dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v-null committed Nov 28, 2024
1 parent 1512d70 commit d8a43f3
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions cpuonly.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
FROM mwatelescope/birli:main

ENV DEBIAN_FRONTEND="noninteractive"
RUN apt-get update -y && \
apt-get -y install \
tzdata \
build-essential \
pkg-config \
cmake \
curl \
git \
lcov \
fontconfig \
libfreetype-dev \
libexpat1-dev \
clang \
libfontconfig-dev \
&& \
apt-get clean all && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
apt-get -y autoremove

ADD . /hyperdrive
WORKDIR /hyperdrive

ARG TEST_SHIM=""
RUN ${TEST_SHIM}

RUN cargo install --path . --no-default-features --features=plotting --locked \
&& cargo clean

0 comments on commit d8a43f3

Please sign in to comment.