代码拉取完成,页面将自动刷新
FROM ubuntu:focal AS builder
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
USER retdec
RUN git clone https://github.com/avast/retdec && \
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/ -DCMAKE_BUILD_TYPE=Release && \
make -j$(nproc) && \
make install
FROM ubuntu:focal
RUN useradd -m retdec
WORKDIR /home/retdec
ENV HOME /home/retdec
RUN apt-get update -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
openssl graphviz upx python3
USER retdec
COPY --from=builder /home/retdec/retdec-install /retdec-install
ENV PATH /retdec-install/bin:$PATH
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。