docker/Dockerfile: Add check for image building (#1054)

This commit is contained in:
ps 2019-01-04 17:11:29 +01:00 committed by Itay Cohen
parent 2ccf58f0a6
commit 1e089d2694

View File

@ -31,6 +31,9 @@ RUN git clone --recurse-submodules https://github.com/radareorg/cutter.git && \
WORKDIR /opt/cutter WORKDIR /opt/cutter
RUN bash build.sh RUN bash build.sh
# Check it afterwards
RUN bash -c 'if [[ ! -x "/opt/cutter/build/Cutter" ]]; then exit -1; fi'
# Add r2 user # Add r2 user
RUN useradd r2 RUN useradd r2