Skip to content

Commit

Permalink
docker: Add make install in Dockerfile when test=yes
Browse files Browse the repository at this point in the history
Added code because docker file is missing 'make install' in case test=yes

Signed-off-by: Sungho Park <powdownow@gmail.com>
  • Loading branch information
3godhalmang committed Jul 30, 2023
1 parent b2ab34d commit 3715c94
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion misc/docker/centos/7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN git clone https://github.com/namhyung/uftrace /usr/src/uftrace
RUN if [ "$test" = "yes" ] ; then \
cd /usr/src/uftrace \
&& ./misc/install-deps.sh -y \
&& ./configure && make ASAN=1 && make ASAN=1 unittest; \
&& ./configure && make ASAN=1 && make install && make ASAN=1 unittest; \
else \
cd /usr/src/uftrace && ./misc/install-deps.sh -y && ./configure && make && make install; \
fi
2 changes: 1 addition & 1 deletion misc/docker/fedora/33/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN git clone https://github.com/namhyung/uftrace /usr/src/uftrace
RUN if [ "$test" = "yes" ] ; then \
cd /usr/src/uftrace \
&& ./misc/install-deps.sh -y \
&& ./configure && make ASAN=1 && make ASAN=1 unittest; \
&& ./configure && make ASAN=1 && make install && make ASAN=1 unittest; \
else \
cd /usr/src/uftrace && ./misc/install-deps.sh -y && ./configure && make && make install; \
fi
2 changes: 1 addition & 1 deletion misc/docker/fedora/34/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN git clone https://github.com/namhyung/uftrace /usr/src/uftrace
RUN if [ "$test" = "yes" ] ; then \
cd /usr/src/uftrace \
&& ./misc/install-deps.sh -y \
&& ./configure && make ASAN=1 && make ASAN=1 unittest; \
&& ./configure && make ASAN=1 && make install && make ASAN=1 unittest; \
else \
cd /usr/src/uftrace && ./misc/install-deps.sh -y && ./configure && make && make install; \
fi
2 changes: 1 addition & 1 deletion misc/docker/ubuntu/16.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN git clone https://github.com/namhyung/uftrace /usr/src/uftrace
RUN if [ "$test" = "yes" ] ; then \
cd /usr/src/uftrace \
&& ./misc/install-deps.sh -y \
&& ./configure && make ASAN=1 && make ASAN=1 unittest; \
&& ./configure && make ASAN=1 && make install && make ASAN=1 unittest; \
else \
cd /usr/src/uftrace && ./misc/install-deps.sh -y && ./configure && make && make install; \
fi
Expand Down
2 changes: 1 addition & 1 deletion misc/docker/ubuntu/18.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN git clone https://github.com/namhyung/uftrace /usr/src/uftrace
RUN if [ "$test" = "yes" ] ; then \
cd /usr/src/uftrace \
&& ./misc/install-deps.sh -y \
&& ./configure && make ASAN=1 && make ASAN=1 unittest; \
&& ./configure && make ASAN=1 && make install && make ASAN=1 unittest; \
else \
cd /usr/src/uftrace && ./misc/install-deps.sh -y && ./configure && make && make install; \
fi
Expand Down

0 comments on commit 3715c94

Please sign in to comment.