Skip to content

Commit 56a8584

Browse files
committed
Split configure and make into multiple layers
Split the call to configure and make the project into multiple layers for caching purposes.
1 parent b0ee31d commit 56a8584

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ WORKDIR /usr/local/src/hdt-cpp
1818
COPY . .
1919

2020
# Install HDT tools
21-
RUN cd hdt-cpp && ./autogen.sh && ./configure && make -j2
21+
RUN ./autogen.sh && ./configure
22+
RUN make -j4
2223

2324
# Expose binaries
2425
ENV PATH /usr/local/src/hdt-cpp/libhdt/tools:$PATH

0 commit comments

Comments
 (0)