add Dockerfile
This commit is contained in:
parent
3948bfeac6
commit
78c1ec4596
20
Dockerfile
Normal file
20
Dockerfile
Normal 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"]
|
9
makefile
9
makefile
@ -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 $@
|
||||
|
Loading…
x
Reference in New Issue
Block a user