Skip to content

Commit

Permalink
Avoid copying the whole repo into the docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
orzechow committed Oct 29, 2024
1 parent 91c719e commit 568647e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ RUN git clone https://github.com/KIT-MRT/util_caching.git /tmp/util_caching && \


# Install arbitration_graphs
COPY . /tmp/arbitration_graphs
COPY include /tmp/arbitration_graphs/include
COPY cmake /tmp/arbitration_graphs/cmake
COPY CMakeLists.txt /tmp/arbitration_graphs/
RUN mkdir /tmp/arbitration_graphs/build && \
cd /tmp/arbitration_graphs/build && \
cmake .. && \
Expand Down

0 comments on commit 568647e

Please sign in to comment.