add Dockerfile

This commit is contained in:
Mario Fink 2021-02-11 20:11:52 +01:00
parent 3948bfeac6
commit 78c1ec4596
2 changed files with 29 additions and 0 deletions

20
Dockerfile Normal file
View File

@ -0,0 +1,20 @@
FROM debian:bullseye-20210111
USER root
RUN apt-get update && apt-get install -y \
build-essential git \
python3 python3-pip
RUN g++ -v
COPY ./ /IMCtermite/
# install CLI tool
RUN cd /IMCtermite && ls -lh && make install && ls -lh /usr/local/bin/imctermite
# install Python module
# RUN cd /tdm_ripper && ls -lh && make cython-requirements && make cython-install
CMD ["sleep","inifity"]

View File

@ -49,6 +49,15 @@ clean :
rm -vf $(EXE)
rm -vf *.o
#-----------------------------------------------------------------------------#
# Docker
docker-build :
docker build ./ --tag imctermite:0.1
docker-run:
docker run -it --rm imctermite:0.1 /bin/bash
# # build CLI executable
# $(EXE) : $(SRC)main.cpp $(LIB)raweat.hpp $(LIB)hexshow.hpp $(LIB)rawmerge.hpp output
# $(CCC) $(OPT) $< -o $@