forked from go-vela/vela-slack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
23 lines (15 loc) · 786 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright (c) 2022 Target Brands, Inc. All rights reserved.
#
# Use of this source code is governed by the LICENSE file in this repository.
########################################################################
## docker build --no-cache --target certs -t vela-slack:certs . ##
########################################################################
FROM alpine as certs
RUN apk add --update --no-cache ca-certificates
#########################################################
## docker build --no-cache -t vela-slack:local . ##
#########################################################
FROM scratch
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY release/vela-slack /bin/vela-slack
ENTRYPOINT [ "/bin/vela-slack" ]