加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile.dev 1.49 KB
一键复制 编辑 原始数据 按行查看 历史
FROM ubuntu:focal
RUN useradd -m retdec
WORKDIR /home/retdec
ENV HOME /home/retdec
RUN apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential \
cmake \
git \
python3 \
doxygen \
graphviz \
upx \
openssl \
libssl-dev \
zlib1g-dev \
autoconf \
automake \
pkg-config \
m4 \
libtool \
python-is-python3
# New versions of docker (>v17.09.0-ce) support the --chown flag given to COPY.
# Once this version is more wide spread, consider updating this repository's
# Dockerfiles to use the new directive.
COPY . retdec
RUN chown -R retdec:retdec retdec
USER retdec
RUN cd retdec && \
mkdir build && \
cd build && \
cmake .. -DCMAKE_INSTALL_PREFIX=/home/retdec/retdec-install -DCMAKE_LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/ && \
make -j$(nproc) && \
make install
ENV PATH /home/retdec/retdec-install/bin:$PATH
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化