finalzed build
This commit is contained in:
parent
2619e02988
commit
c0539ade72
6 changed files with 38 additions and 23 deletions
14
Dockerfile_with_build
Normal file
14
Dockerfile_with_build
Normal file
|
@ -0,0 +1,14 @@
|
|||
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 centurylink/ca-certs
|
||||
COPY --from=builder /hetzner-sb-notifier/builds /root
|
||||
ENTRYPOINT ["/root/hetzner-sb-notifier_linux_amd64_1.0"]
|
Reference in a new issue