From b267d489535d197c23e2b95b1818319afa63ce31 Mon Sep 17 00:00:00 2001 From: Casey Marshall Date: Fri, 24 Nov 2017 22:41:29 -0600 Subject: [PATCH] Add brew & docker to release. --- .goreleaser.yml | 6 ++++++ Dockerfile | 12 ++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 Dockerfile diff --git a/.goreleaser.yml b/.goreleaser.yml index 6868f2a..eb68500 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -6,3 +6,9 @@ builds: - windows goarch: - amd64 +brew: + github: + owner: cmars + name: homebrew-ormesh +dockers: + - image: cmars/ormesh diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..bb330da --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM debian:stretch-slim +RUN apt-get update +RUN apt-get install -y gnupg +RUN apt-get dist-upgrade -y +RUN echo "deb http://deb.torproject.org/torproject.org stretch main" | tee /etc/apt/sources.list.d/tor.list +RUN echo "deb-src http://deb.torproject.org/torproject.org stretch main" | tee -a /etc/apt/sources.list.d/tor.list +RUN gpg --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 +RUN gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add - +RUN apt-get update +RUN apt-get install -y tor deb.torproject.org-keyring +COPY ormesh / +ENTRYPOINT ["/ormesh", "agent", "run"]