-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (13 loc) · 801 Bytes
/
Dockerfile
File metadata and controls
22 lines (13 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# SPDX-License-Identifier: Apache-2.0
#############################################################################
## docker build --no-cache --target certs -t vela-s3-cache:certs . ##
#############################################################################
FROM alpine:3.23.3@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659 AS certs
RUN apk add --update --no-cache ca-certificates
##############################################################
## docker build --no-cache -t vela-s3-cache:local . ##
##############################################################
FROM scratch
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY release/vela-s3-cache /bin/vela-s3-cache
ENTRYPOINT [ "/bin/vela-s3-cache" ]