Procházet zdrojové kódy

Added Dockerfile and changed README

demo.masouros před 5 roky
rodič
revize
c04777ff9d
2 změnil soubory, kde provedl 32 přidání a 0 odebrání
  1. 16 0
      Dockerfile
  2. 16 0
      README.md

+ 16 - 0
Dockerfile

@@ -0,0 +1,16 @@
+FROM ubuntu:latest
+
+RUN apt-get update
+RUN apt-get -y install git
+RUN apt-get -y install build-essential
+
+
+WORKDIR /
+
+RUN git clone https://github.com/opcm/pcm.git
+
+WORKDIR /pcm
+
+RUN make
+
+ENTRYPOINT ["/pcm/pcm.x"]

+ 16 - 0
README.md

@@ -0,0 +1,16 @@
+# Dockerized version of Intel's Performance Counter Monitoring tool
+
+To build the docker image, we follow the normal procedure:
+
+```
+docker build -t intel-pcm .
+```
+
+To successfully run the container, we have to run the container with privileged capabilities as below:
+
+```
+docker run -ti --privileged=True pl4tinum/pcm:latest
+```
+
+
+