aboutsummaryrefslogtreecommitdiff
path: root/src/sally/Dockerfile
blob: 6767bde295834b0f6df4c34fcbc38f67f6f55815 (plain)
1
2
3
4
5
6
7
8
9
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"]