This repository has been archived on 2021-09-02. You can view files and clone it, but cannot push or open issues or pull requests.
2018-10-26 12:34:01 +02:00
|
|
|
FROM golang:1.11-stretch as builder
|
|
|
|
|
|
|
|
RUN mkdir /hetzner-sb-notifier
|
|
|
|
COPY . /hetzner-sb-notifier/
|
|
|
|
WORKDIR /hetzner-sb-notifier
|
|
|
|
|
|
|
|
RUN chmod +x build.sh
|
|
|
|
|
|
|
|
RUN /hetzner-sb-notifier/build.sh linux
|
|
|
|
RUN ls -lth /hetzner-sb-notifier/builds
|
|
|
|
|
2018-10-27 00:10:08 +02:00
|
|
|
FROM golang:alpine
|
2018-10-26 12:34:01 +02:00
|
|
|
COPY --from=builder /hetzner-sb-notifier/builds /root
|
|
|
|
ENTRYPOINT ["/root/hetzner-sb-notifier_linux_amd64_1.0"]
|