1a9ed2b37a
cleanup wrong dependency in go.mod
14 lines
No EOL
373 B
Text
14 lines
No EOL
373 B
Text
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
|
|
|
|
FROM golang:alpine
|
|
COPY --from=builder /hetzner-sb-notifier/builds /root
|
|
ENTRYPOINT ["/root/hetzner-sb-notifier_linux_amd64_1.0"] |