From scratch docker image
This commit is contained in:
parent
d8f00ba2a6
commit
dd9b05bc00
@ -16,7 +16,7 @@ steps:
|
||||
commands:
|
||||
- go version
|
||||
- go get
|
||||
- go build -ldflags '-w'
|
||||
- go build -a -ldflags '-w'
|
||||
- name: publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
@ -1,6 +1,5 @@
|
||||
FROM alpine:latest
|
||||
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*
|
||||
WORKDIR /opt/deadbeef
|
||||
COPY mandelmapper .
|
||||
FROM scratch
|
||||
COPY mandelmapper /
|
||||
COPY ca-certificates.crt /etc/ssl/certs/
|
||||
EXPOSE 6161:6161
|
||||
ENTRYPOINT ["/opt/deadbeef/mandelmapper"]
|
||||
ENTRYPOINT ["/mandelmapper"]
|
3408
ca-certificates.crt
Normal file
3408
ca-certificates.crt
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user