mirror of
https://github.com/revsic/cpp-obfuscator
synced 2026-06-08 17:08:30 +00:00
22 lines
509 B
Docker
22 lines
509 B
Docker
FROM ubuntu:18.04
|
|
|
|
RUN apt-get update -yq && apt-get install -yq build-essential cmake python3.6 python3.6-dev python3-pip python3-setuptools python3-wheel
|
|
RUN echo `g++ --version`
|
|
|
|
ADD . /app
|
|
|
|
# Run UnitTest
|
|
WORKDIR /app/test/build
|
|
RUN cmake .. && \
|
|
make -j `nproc` && \
|
|
./unittest
|
|
|
|
# Run Additional Test
|
|
WORKDIR /app/sample/build
|
|
RUN cmake .. && \
|
|
make -j `nproc`
|
|
|
|
WORKDIR /app
|
|
RUN python3 -m script.merge && \
|
|
python3 -m script.string_obfs_tester ./sample/build/string_obfs "Hello World !"
|