浏览代码

Remove dockerfile

I don't find it prudent to advertise cross platform capabilities as I
imagine most users would run into issues. Since I don't run OhmGraphite
cross platform (even though integration tests are ran on linux, but
those only use verified cross platform code), I can't in good faith
recommend it based on issues I've encountered. If others have had
success with this approach, please let me know
Nick Babcock 6 年之前
父节点
当前提交
d728ad93d3
共有 2 个文件被更改,包括 2 次插入24 次删除
  1. 0 12
      Dockerfile
  2. 2 12
      README.md

+ 0 - 12
Dockerfile

@@ -1,12 +0,0 @@
-FROM mono:5.12 as builder
-COPY . /tmp/
-WORKDIR /tmp
-RUN msbuild /t:restore /t:build /p:Configuration=Release;TargetFrameworkVersion=v4.6.1 && \
-    rm /tmp/OhmGraphite/bin/Release/net461/OhmGraphite.exe.config
-
-FROM mono:5.12
-COPY --from=builder /tmp/OhmGraphite/bin/Release/net461 /opt/OhmGraphite
-COPY --from=builder /tmp/OhmGraphite/NLog.docker.config /opt/OhmGraphite/NLog.config
-WORKDIR /opt/OhmGraphite
-VOLUME /opt/OhmGraphite/OhmGraphite.exe.config
-CMD mono OhmGraphite.exe

+ 2 - 12
README.md

@@ -23,7 +23,7 @@ OhmGraphite takes the hard work of extracting hardware sensors from [Open Hardwa
 
 ## Introduction
 
-OhmGraphite functions as a console app (cross platform) or a Windows service that periodically polls the hardware. My recommendation is that even though OhmGraphite can be run via Mono / Docker, many hardware sensors aren't available in those modes.
+OhmGraphite functions as a console app or a Windows service that periodically polls the hardware. My recommendation is that even though OhmGraphite can be run via Mono / Docker, many hardware sensors aren't available in those modes.
 
 I use this every day to create beautiful dashboards. Keep in mind, Open Hardware Monitor supported components will determine what metrics are available. Below are graphs / stats made with OhmGraphite (couple of the panels are complemented with [telegraf](https://github.com/influxdata/telegraf) as demonstrated in [Monitoring Windows system metrics with grafana](https://nbsoftsolutions.com/blog/monitoring-windows-system-metrics-with-grafana))
 
@@ -176,14 +176,4 @@ Currenlty the schema and the columns are not configurable.
 
 - Stop OhmGraphite service `.\OhmGraphite.exe stop`
 - Run uninstall command `.\OhmGraphite.exe uninstall`
-
-## Getting Started (Docker)
-
-Since the full gambit of metrics aren't available in a Docker container, I've refrained from putting the project on docker hub lest it misleads people to think otherwise.
-
-```bash
-docker build -t nickbabcock/ohm-graphite .
-docker run -v $PWD/app.config:/opt/OhmGraphite/OhmGraphite.exe.config:ro nickbabcock/ohm-graphite
-```
-
-`app.config` is in the same format as the above configuration.
+- Remove files