From scratch docker image

This commit is contained in:
Steven Polley 2018-12-23 01:48:14 -07:00
parent d8f00ba2a6
commit dd9b05bc00
3 changed files with 3413 additions and 6 deletions

View File

@ -16,7 +16,7 @@ steps:
commands: commands:
- go version - go version
- go get - go get
- go build -ldflags '-w' - go build -a -ldflags '-w'
- name: publish - name: publish
image: plugins/docker image: plugins/docker
settings: settings:

View File

@ -1,6 +1,5 @@
FROM alpine:latest FROM scratch
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/* COPY mandelmapper /
WORKDIR /opt/deadbeef COPY ca-certificates.crt /etc/ssl/certs/
COPY mandelmapper .
EXPOSE 6161:6161 EXPOSE 6161:6161
ENTRYPOINT ["/opt/deadbeef/mandelmapper"] ENTRYPOINT ["/mandelmapper"]

3408
ca-certificates.crt Normal file

File diff suppressed because it is too large Load Diff