aboutsummaryrefslogtreecommitdiff
path: root/src/sally/Dockerfile
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2020-06-14 08:12:21 -0700
committerMax Resnick <max@ofmax.li>2020-06-14 08:12:21 -0700
commit31beb64830048aeea7b68968796d71e73388f83c (patch)
tree6b878884c1bbf2e20d0ec31e656b642d3a47562e /src/sally/Dockerfile
parent699c1344fcc57ceab2e84c49311e17047b30c681 (diff)
downloadgrumpy-containers-31beb64830048aeea7b68968796d71e73388f83c.tar.gz
add golang meta server sally
Diffstat (limited to 'src/sally/Dockerfile')
-rw-r--r--src/sally/Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sally/Dockerfile b/src/sally/Dockerfile
new file mode 100644
index 0000000..6767bde
--- /dev/null
+++ b/src/sally/Dockerfile
@@ -0,0 +1,10 @@
+FROM golang:latest as build
+RUN mkdir -p /opt/workspace \
+ && git clone https://git.ofmax.li/sally /opt/workspace/sally \
+ && cd /opt/workspace/sally \
+ && git checkout grumps-master \
+ && make grumps-build
+FROM scratch
+COPY --from=build /opt/workspace/sally/_tmp/sally /sally
+COPY sally.yaml /sally.yaml
+CMD ["/sally"]