From scratch docker image
This commit is contained in:
parent
d8f00ba2a6
commit
dd9b05bc00
@ -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:
|
||||||
|
@ -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
3408
ca-certificates.crt
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user