"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "docker/Dockerfile" between
cutter-1.8.3.tar.gz and cutter-1.9.0.tar.gz

About: cutter is a Qt and C++ GUI for radare2 reverse engineering framework.

Dockerfile  (cutter-1.8.3):Dockerfile  (cutter-1.9.0)
FROM ubuntu:rolling FROM alpine:edge AS builder
LABEL maintainer "pschmied <ps1337@mailbox.org>" LABEL maintainer "Philipp Schmied <ps1337@mailbox.org>"
# Prevent build fails because of interactive scripts when compiling # Prevent build fails because of interactive scripts when compiling
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
# Dependencies # Dependencies
RUN apt-get update && \ RUN apk add --no-cache \
apt-get -y install \ bash \
cmake \ cmake \
curl \ curl \
g++ \ g++ \
gcc \ gcc \
git-core \ git \
gosu \ linux-headers \
libqt5svg5-dev \ make \
make \ pkgconfig \
pkg-config \ python3-dev \
python3 \ qt5-qtbase \
python3-dev \ qt5-qtsvg-dev \
qt5-default \ qt5-qttools-dev \
qtbase5-dev \ unzip \
qtwebengine5-dev \ wget
unzip \
wget
# Get, compile and test Cutter from master branch # Get, compile and test Cutter from master branch
RUN git clone --recurse-submodules https://github.com/radareorg/cutter.git /opt/ RUN git clone --recurse-submodules https://github.com/radareorg/cutter.git /opt/
cutter && \ cutter
cd /opt/cutter && \ RUN cd /opt/cutter && \
bash build.sh && \ bash build.sh && \
bash -c 'if [[ ! -x "/opt/cutter/build/Cutter" ]]; then exit -1; fi' bash -c 'if [[ ! -x "/opt/cutter/build/Cutter" ]]; then exit -1; fi'
FROM alpine:edge AS runner
# Add the dependencies we need for running
RUN apk add --no-cache \
bash \
libuuid \
make \
python3 \
qt5-qtbase \
shadow \
su-exec
# Get the compiled Cutter, r2 libs and bins from the builder
COPY --from=builder /opt/cutter /opt/cutter
COPY --from=builder /usr/lib /usr/lib
COPY --from=builder /usr/share/radare2 /usr/share/radare2
RUN cd /opt/cutter/radare2/binr && \
make install && \
make symstall install-symlink
# Add r2 user # Add r2 user
RUN useradd r2 RUN useradd r2
# Prepare files to mount configurations later on # Prepare files to mount configurations later on
RUN mkdir /var/sharedFolder && \ RUN mkdir /var/sharedFolder && \
mkdir -p /home/r2/.config/radare2 && \ mkdir -p /home/r2/.config/radare2 && \
touch /home/r2/.radare2rc && \ touch /home/r2/.radare2rc && \
chown -R r2:r2 /var/sharedFolder && \ chown -R r2:r2 /var/sharedFolder && \
chown -R r2:r2 /home/r2/ chown -R r2:r2 /home/r2/
WORKDIR /home/r2 WORKDIR /home/r2
ADD entrypoint.sh /usr/local/bin/entrypoint.sh ADD entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
 End of changes. 5 change blocks. 
23 lines changed or deleted 42 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)