aboutsummaryrefslogtreecommitdiffstats
path: root/cointop/Dockerfile
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-06-29 17:40:35 +0000
committerterminaldweller <thabogre@gmail.com>2022-06-29 17:40:35 +0000
commit7a6193b0ff67b9f177e2adf4ecca3eefad28bf5a (patch)
treeeb2cda0e33011529fb03e3fc69410453289ef55f /cointop/Dockerfile
parentremove extra lines (diff)
downloaddockerimages-7a6193b0ff67b9f177e2adf4ecca3eefad28bf5a.tar.gz
dockerimages-7a6193b0ff67b9f177e2adf4ecca3eefad28bf5a.zip
cointop builds
Diffstat (limited to 'cointop/Dockerfile')
-rw-r--r--cointop/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/cointop/Dockerfile b/cointop/Dockerfile
new file mode 100644
index 0000000..1e5cc22
--- /dev/null
+++ b/cointop/Dockerfile
@@ -0,0 +1,8 @@
+FROM alpine:3.16 as builder
+RUN apk update && apk upgrade && apk add go git
+ENV GOPROXY=https://goproxy.io
+RUN git clone https://github.com/cointop-sh/cointop && cd cointop/cmd/cointop && go build
+
+FROM alpine:3.16
+COPY --from=builder /cointop/cmd/cointop/cointop /cointop/cointop
+ENTRYPOINT ["/cointop/cointop"]