File tree 2 files changed +31
-0
lines changed
2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Desc: Just for tests
2
+
3
+ FROM ubuntu:18.04
4
+ ARG DEBIAN_FRONTEND=noninteractive
5
+
6
+ RUN apt-get update
7
+ RUN apt-get -y install screen unzip vim zip cryptsetup gpg sudo
8
+
9
+ RUN mkdir -p /tapioca /mnt/Tapioca
10
+
11
+ WORKDIR /tmp
Original file line number Diff line number Diff line change
1
+ CONTAINER_TAG := jpereiran/tapioca
2
+ CONTAINER_ID := tapioca
3
+
4
+ all : clean build run
5
+
6
+ build : clean
7
+ docker build " $( PWD) " -f " Dockerfile" -t $(CONTAINER_TAG )
8
+
9
+ run :
10
+ docker run --privileged -h $(CONTAINER_ID ) --name=$(CONTAINER_ID ) -v " $( PWD) :/tapioca" -ti $(CONTAINER_TAG )
11
+ make clean
12
+
13
+ clean :
14
+ @docker rm -f $(CONTAINER_ID ) 1> /dev/null 2>&1 || true
15
+
16
+ dist-clean :
17
+ @docker rmi -f $(CONTAINER_ID ) 1> /dev/null 2>&1 || true
18
+
19
+ push :
20
+ docker push $(CONTAINER_TAG )
You can’t perform that action at this time.
0 commit comments