mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 07:00:30 +00:00
Add r2pm dependencies to Dockerfile (#7454)
* Git is needed for r2pm, don't remove it. * Initialize r2pm in Docker. * Fixed up r2pm for the r2 user. * We also still need a lot of other build tools for r2pm...
This commit is contained in:
parent
3f506e0881
commit
4b11de34c0
11
Dockerfile
11
Dockerfile
@ -73,13 +73,9 @@ RUN DEBIAN_FRONTEND=noninteractive dpkg --add-architecture i386 && \
|
||||
cd radare2 && \
|
||||
./sys/install.sh && \
|
||||
make install && \
|
||||
apt-get install -y xz-utils && \
|
||||
apt-get remove --purge -y \
|
||||
curl \
|
||||
gcc \
|
||||
git \
|
||||
bison \
|
||||
pkg-config \
|
||||
make \
|
||||
python-pip \
|
||||
glib-2.0 && \
|
||||
apt-get autoremove --purge -y && \
|
||||
@ -95,5 +91,10 @@ USER r2
|
||||
WORKDIR /home/r2
|
||||
ENV HOME /home/r2
|
||||
|
||||
# Setup r2pm
|
||||
RUN r2pm init && \
|
||||
r2pm update && \
|
||||
chown -R r2:r2 /home/r2/.config
|
||||
|
||||
# Base command for container
|
||||
CMD ["/bin/bash"]
|
||||
|
Loading…
Reference in New Issue
Block a user