mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 10:56:11 +00:00
docker/Dockerfile: Add check for image building (#1054)
This commit is contained in:
parent
2ccf58f0a6
commit
1e089d2694
@ -31,6 +31,9 @@ RUN git clone --recurse-submodules https://github.com/radareorg/cutter.git && \
|
||||
WORKDIR /opt/cutter
|
||||
RUN bash build.sh
|
||||
|
||||
# Check it afterwards
|
||||
RUN bash -c 'if [[ ! -x "/opt/cutter/build/Cutter" ]]; then exit -1; fi'
|
||||
|
||||
# Add r2 user
|
||||
RUN useradd r2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user