mirror of
https://github.com/harness-community/drone-email.git
synced 2026-06-14 05:12:56 +08:00
Update base image version to fix sec vuln and renamed Dockerfiles for clarity
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
FROM golang:1.22.7-alpine as builder
|
||||
|
||||
WORKDIR /go/src/drone-email
|
||||
COPY . .
|
||||
|
||||
RUN GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=0 go build
|
||||
|
||||
FROM alpine:3.20
|
||||
|
||||
RUN apk add --no-cache ca-certificates tzdata
|
||||
|
||||
COPY --from=builder /go/src/drone-email/drone-email /bin/
|
||||
ENTRYPOINT ["/bin/drone-email"]
|
||||
Reference in New Issue
Block a user