Bladeren bron

Added Dockerfile and changed README

demo.masouros 5 jaren geleden
bovenliggende
commit
c04777ff9d
2 gewijzigde bestanden met toevoegingen van 32 en 0 verwijderingen
  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
+```
+
+
+